From: Ran Benita Date: Wed, 14 Feb 2018 13:07:46 +0000 (+0200) Subject: build/meson: fix the -Wl,--version-script configure check X-Git-Tag: xkbcommon-0.8.1~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edb1c662394578a54b7bbed231d918925e5d8150;p=platform%2Fupstream%2Flibxkbcommon.git 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 --- 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', )