Permalink
Browse files

Make the conditional a single line

  • Loading branch information...
Koshroy committed Feb 8, 2019
1 parent 1507636 commit f7d33cf0eae028c6f8bb7fe97d07fdcca27f5256
Showing with 1 addition and 3 deletions.
  1. +1 −3 meson.build
@@ -46,9 +46,7 @@ libmrsh_darwin_sym_path = join_paths(meson.current_source_dir(), 'libmrsh.darwin
if cc.links('', name: '-Wl,--version-script', args: ['-shared', libmrsh_gnu_sym_ldflag])
# GNU ld
link_args = [libmrsh_gnu_sym_ldflag]
elif host_machine.system() == 'darwin' and (
cc.has_multi_link_arguments('-Wl,-exported_symbols_list', libmrsh_darwin_sym_path)
)
elif host_machine.system() == 'darwin' and cc.has_multi_link_arguments('-Wl,-exported_symbols_list', libmrsh_darwin_sym_path)
# Clang on Darwin
link_args = ['-Wl,-exported_symbols_list', libmrsh_darwin_sym_path]
else

0 comments on commit f7d33cf

Please sign in to comment.