Added basic detection for AIX linker (not really a better way)

pull/4388/head
Aki Van Ness 6 years ago committed by Jussi Pakkanen
parent faa21d15ae
commit 3ad99d2769
  1. 2
      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))

Loading…
Cancel
Save