Added basic detection for AIX linker (not really a better way)
@@ -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))
