-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules/gnome.py: Apply CRT cflag for gtkdoc and gir
...when a Visual Studio-style compiler is being used. The scanner and dumper programs for gtkdoc and introspection will fail to link with an obscure undefined symbol '_guard_check_icall_$fo$' without an appropriate CRT cflag (i.e. /MD or /MDd for instance) specified, when the latest Windows SDK (10.0.26100.0 or later) is being used on Visual Studio 2019 at least. This will update the private _get_langs_compilers_flags() if a Visual Studio style compiler is being used, as indicated by the b_vscrt option. This applies the appropriate CRT cflag according to the build options so that this issue will be avoided.
- Loading branch information
Showing
1 changed file
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters