diff options
author | Ran Benita <ran234@gmail.com> | 2018-02-14 15:07:46 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2018-02-14 15:10:03 +0200 |
commit | edb1c662394578a54b7bbed231d918925e5d8150 (patch) | |
tree | 4a3f5ab24d801f0a2f767ce1331d2df2ef39352b | |
parent | afea3dd0cda56691072167fab52e551d9c034b44 (diff) | |
download | xorg-lib-libxkbcommon-edb1c662394578a54b7bbed231d918925e5d8150.tar.gz |
build/meson: fix the -Wl,--version-script configure check
Hopefully this fixes compilation on darwin, which doesn't support
version scripts.
Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 5681e6f..22b33d7 100644 --- a/meson.build +++ b/meson.build @@ -106,7 +106,7 @@ add_project_arguments('-include', 'config.h', language: 'c') # Supports -Wl,--version-script? have_version_script = cc.links( 'int main(){}', - link_args: '-Wl,--version-script=' + join_paths(meson.source_root(), 'xkbcommon.map'), + args: '-Wl,--version-script=' + join_paths(meson.source_root(), 'xkbcommon.map'), name: '-Wl,--version-script', ) |