summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-07-13 13:08:31 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-07-21 17:57:12 +0200
commitaec5c9d7ccda8ddf87a596a186a4d9f8d1b2f273 (patch)
treed44a90ae6cf59471049a7fff4e605db03506dc7e /client
parent0e89a6f5f249fb34440fae14c78dd479d56ab4c3 (diff)
downloadgvfs-aec5c9d7ccda8ddf87a596a186a4d9f8d1b2f273.tar.gz
build: Add proper linker support check
Since meson 0.46[0], meson has added support for checking properly link flags support. `version-script` link flag check has been changed to take advantage of this support. [0] http://mesonbuild.com/Release-notes-for-0-46-0.html#new-functions-has_link_argument-and-friends
Diffstat (limited to 'client')
-rw-r--r--client/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/meson.build b/client/meson.build
index 038b2daf..3bc4681f 100644
--- a/client/meson.build
+++ b/client/meson.build
@@ -47,7 +47,7 @@ symbol_map = join_paths(meson.current_source_dir(), 'symbol.map')
ldflags = []
if have_version_script
- ldflags += '-Wl,--version-script,@0@'.format(symbol_map)
+ ldflags += '@0@,@1@'.format(version_script_ldflag, symbol_map)
endif
libgvfsdbus = shared_module(