mirror of https://gitlab.com/ita1024/waf.git
Merge branch 'master' of https://code.google.com/p/waf
This commit is contained in:
commit
5af4835da5
|
@ -468,6 +468,10 @@ def unversioned_sys_platform():
|
|||
elif s in ('SunOS', 'Solaris'):
|
||||
return 'sunos'
|
||||
else: s = s.lower()
|
||||
|
||||
# powerpc == darwin for our purposes
|
||||
if s == 'powerpc':
|
||||
return 'darwin'
|
||||
if s == 'win32' or s.endswith('os2') and s != 'sunos2': return s
|
||||
return re.split('\d+$', s)[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue