From 3ad99d27695c3018cf2449a2478b346a5b069c95 Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Tue, 16 Oct 2018 20:03:09 -0400 Subject: Added basic detection for AIX linker (not really a better way) --- mesonbuild/environment.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesonbuild/environment.py') diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 83a2f40..101d386 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -930,6 +930,8 @@ This is probably wrong, it should always point to the native compiler.''' % evar return ArLinker(linker) if p.returncode == 1 and err.startswith('usage'): # OSX return ArLinker(linker) + if p.returncode == 1 and err.startswith('Usage'): # AIX + return ArLinker(linker) self._handle_exceptions(popen_exceptions, linkers, 'linker') raise EnvironmentException('Unknown static linker "%s"' % ' '.join(linkers)) -- cgit v1.1