Hopefully this fixes compilation on darwin, which doesn't support
version scripts.
Signed-off-by: Ran Benita <ran234@gmail.com>
# 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',
)