patch: allowed toolchain to build for aix (thanks to Jim Hague)

This commit is contained in:
Nick Bolton 2012-07-20 15:09:45 +00:00
parent bc3a76770c
commit e2a923c8df
1 changed files with 7 additions and 7 deletions

View File

@ -947,13 +947,13 @@ class InternalCommands:
else: else:
raise Exception("User does not have correct setup version.") raise Exception("User does not have correct setup version.")
def get_generators(self): def get_generators(self):
if sys.platform == 'win32': if sys.platform == 'win32':
return self.win32_generators return self.win32_generators
elif sys.platform in ['linux2', 'sunos5', 'freebsd7']: elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'aix5']:
return self.unix_generators return self.unix_generators
elif sys.platform == 'darwin': elif sys.platform == 'darwin':
return self.darwin_generators return self.darwin_generators
else: else:
raise Exception('Unsupported platform: ' + sys.platform) raise Exception('Unsupported platform: ' + sys.platform)