removed a few occurrences of 'linux2' in python files
parent
d161aa6490
commit
b5245c4cf6
|
@ -446,7 +446,7 @@ def enable_modules(self, modules, debug=False, crosscompiling=False) :
|
|||
try : self.AppendUnique(CPPDEFINES=moduleDefines[module])
|
||||
except: pass
|
||||
debugSuffix = ''
|
||||
if sys.platform in ["darwin", "linux2"] and not crosscompiling :
|
||||
if (sys.platform=='darwin' or sys.platform.startswith('linux2')) and not crosscompiling :
|
||||
if debug : debugSuffix = '_debug'
|
||||
for module in modules :
|
||||
if module not in pclessModules : continue
|
||||
|
@ -461,7 +461,7 @@ def enable_modules(self, modules, debug=False, crosscompiling=False) :
|
|||
self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include","qt4","QtAssistant")])
|
||||
pcmodules.remove("QtAssistant")
|
||||
pcmodules.append("QtAssistantClient")
|
||||
if sys.platform == 'linux2':
|
||||
if sys.platform.startswith('linux'):
|
||||
self.ParseConfig('pkg-config %s --libs --cflags'% ' '.join(pcmodules))
|
||||
elif sys.platform == 'darwin':
|
||||
for module in pcmodules:
|
||||
|
|
Loading…
Reference in New Issue