Permalink
Browse files

Use Parens for the multiline check in the Meson file

  • Loading branch information...
Koshroy committed Feb 8, 2019
1 parent 8660d8d commit 15076364563f2cbabd24febfcbae70162a2337dd
Showing with 3 additions and 2 deletions.
  1. +3 −2 meson.build
@@ -46,8 +46,9 @@ 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 1507636

Please sign in to comment.