compilers: Set the correct values for undefined modules on apple with icc

pull/4359/head
Dylan Baker 6 years ago
parent 3ab9620180
commit 315d07d306
  1. 4
      mesonbuild/compilers/c.py

@ -175,6 +175,10 @@ class CCompiler(Compiler):
# link.exe
return ['/FORCE:UNRESOLVED']
elif self.id == 'intel':
if self.compiler_type.is_osx_compiler:
# Apple ld
return ['-Wl,-undefined,dynamic_lookup']
else:
return ['-Wl,--allow-shlib-undefined']
# FIXME: implement other linkers
return []

Loading…
Cancel
Save