summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2018-05-26 01:27:07 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2018-06-07 00:34:36 +0800
commit12a7f27256e7f8703fa482a54d349b8af416a91c (patch)
tree9789511904a32a589e5287196667ce4dc61a3b93
parent038836735620c51d86db70386182ff00e325ede4 (diff)
downloadglib-12a7f27256e7f8703fa482a54d349b8af416a91c.tar.gz
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.
-rw-r--r--gio/tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index 83fadb6d7..3fe7d3b57 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -376,7 +376,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
resource_plugin_platform_link_args = []
endif
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)
test_gresource = custom_target('test.gresource',