summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-08-13 21:35:46 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-08-13 21:35:46 (GMT)
commit946a94332761a058c6842e543d7e625bc5e9c9e1 (patch)
treeea2102c4657a082df6dd81f48e9e11a41915a413 /BuildTools/SCons/Tools
parent08536b4ed31c30a25a343c3c2619676e67a0c692 (diff)
downloadswift-946a94332761a058c6842e543d7e625bc5e9c9e1.zip
swift-946a94332761a058c6842e543d7e625bc5e9c9e1.tar.bz2
Fixed Qt SCons tool on Linux 3.0 systems.
Resolves: #961
Diffstat (limited to 'BuildTools/SCons/Tools')
-rw-r--r--BuildTools/SCons/Tools/qt4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/Tools/qt4.py b/BuildTools/SCons/Tools/qt4.py
index 0f2e976..2c40454 100644
--- a/BuildTools/SCons/Tools/qt4.py
+++ b/BuildTools/SCons/Tools/qt4.py
@@ -445,7 +445,7 @@ def enable_modules(self, modules, debug=False, crosscompiling=False) :
except: pass
debugSuffix = ''
- if sys.platform in ["linux2"] and not crosscompiling :
+ if sys.platform.startswith("linux") and not crosscompiling :
if debug : debugSuffix = '_debug'
self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "phonon")])
for module in modules :