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:
raise Exception("User does not have correct setup version.")
def get_generators(self):
if sys.platform == 'win32':
return self.win32_generators
elif sys.platform in ['linux2', 'sunos5', 'freebsd7']:
return self.unix_generators
elif sys.platform == 'darwin':
return self.darwin_generators
def get_generators(self):
if sys.platform == 'win32':
return self.win32_generators
elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'aix5']:
return self.unix_generators
elif sys.platform == 'darwin':
return self.darwin_generators
else:
raise Exception('Unsupported platform: ' + sys.platform)