summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2014-01-19 16:11:32 (GMT)
committerRemko Tronçon <git@el-tramo.be>2014-01-19 16:49:20 (GMT)
commitf12c7f0fa30b5a17e43d00abd6310fa923699373 (patch)
tree1f719cad6563979db0216f5fce09640e1b7c71af /BuildTools
parentcbd01a5368f0b761d2032d75c9f7dfde2bf61578 (diff)
downloadswift-f12c7f0fa30b5a17e43d00abd6310fa923699373.zip
swift-f12c7f0fa30b5a17e43d00abd6310fa923699373.tar.bz2
Make SCons Qt4 tool work on all non-Windows/OS X platforms
Change-Id: Ib59fe1d9d71194f9b34b655ab817811d673c5187
Diffstat (limited to 'BuildTools')
-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 02701e7..ad4f1c0 100644
--- a/BuildTools/SCons/Tools/qt4.py
+++ b/BuildTools/SCons/Tools/qt4.py
@@ -455,7 +455,7 @@ def enable_modules(self, modules, debug=False, crosscompiling=False, version='4'
except: pass
debugSuffix = ''
- if sys.platform.startswith("linux") and not crosscompiling :
+ if sys.platform != "win32" and sys.platform != "darwin" and not crosscompiling :
if debug : debugSuffix = '_debug'
if version == '4' :
self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include", "phonon")])