From 3ab9620180b1f6506a7a3486044db236afbfafba Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 10 Oct 2018 11:42:35 -0700 Subject: compilers: Add ICC setting for get_allow_undefined_link_args --- mesonbuild/compilers/c.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesonbuild/compilers') diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 240d424..393354d 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -174,6 +174,8 @@ class CCompiler(Compiler): elif isinstance(self, VisualStudioCCompiler): # link.exe return ['/FORCE:UNRESOLVED'] + elif self.id == 'intel': + return ['-Wl,--allow-shlib-undefined'] # FIXME: implement other linkers return [] -- cgit v1.1