mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-28 23:16:14 +01:00
meson: Don't use -export-dynamic
-export-dynamic is a libtool flag. It is also supported by GCC as an undocumented flag, but it is not supported by Clang. Since we don't use libtool in meson, we should use -Wl,--export-dynamic instead.
This commit is contained in:
parent
0388367356
commit
12a7f27256
@ -376,7 +376,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
|
|||||||
resource_plugin_platform_link_args = []
|
resource_plugin_platform_link_args = []
|
||||||
endif
|
endif
|
||||||
shared_module ('resourceplugin', 'resourceplugin.c', plugin_resources_c,
|
shared_module ('resourceplugin', 'resourceplugin.c', plugin_resources_c,
|
||||||
link_args : ['-export-dynamic'] + resource_plugin_platform_link_args,
|
link_args : export_dynamic_ldflags + resource_plugin_platform_link_args,
|
||||||
dependencies : common_gio_tests_deps)
|
dependencies : common_gio_tests_deps)
|
||||||
|
|
||||||
test_gresource = custom_target('test.gresource',
|
test_gresource = custom_target('test.gresource',
|
||||||
|
Loading…
Reference in New Issue
Block a user