mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
build-sys: fix linker warning on win32
[196/296] Linking target testsuite/gtk/builder.exe /usr/lib/gcc/x86_64-w64-mingw32/11.2.1/../../../../x86_64-w64-mingw32/bin/ld: warning: --export-dynamic is not supported for PE+ targets, did you mean --export-all-symbols? Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
82395e73ad
commit
3585da6b7f
@ -6,6 +6,8 @@ gtk_tests_export_dynamic_ldflag = []
|
|||||||
if cc.get_id() != 'msvc'
|
if cc.get_id() != 'msvc'
|
||||||
if os_darwin
|
if os_darwin
|
||||||
gtk_tests_export_dynamic_ldflag = ['-Wl,-export_dynamic']
|
gtk_tests_export_dynamic_ldflag = ['-Wl,-export_dynamic']
|
||||||
|
elif os_win32
|
||||||
|
gtk_tests_export_dynamic_ldflag = ['-Wl,--export-all-symbols']
|
||||||
else
|
else
|
||||||
gtk_tests_export_dynamic_ldflag = ['-Wl,--export-dynamic']
|
gtk_tests_export_dynamic_ldflag = ['-Wl,--export-dynamic']
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user