From 946a94332761a058c6842e543d7e625bc5e9c9e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 13 Aug 2011 23:35:46 +0200 Subject: Fixed Qt SCons tool on Linux 3.0 systems. Resolves: #961 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 : -- cgit v0.10.2-6-g49f6