From d40be209baefa11b56c9d6961d7976958de425da Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 17 Jun 2011 03:04:17 +0000 Subject: Fix bug 2772 --- QMTest/TestSCons.py | 2 +- src/CHANGES.txt | 1 + src/engine/SCons/Tool/intelc.py | 2 +- test/LoadableModule.py | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index 36eb407..27cfcb8 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -669,7 +669,7 @@ class TestSCons(TestCommon): if sys.platform == 'win32': result.append(os.path.join(d,'win32')) - elif sys.platform == 'linux2': + elif sys.platform.startswith('linux'): result.append(os.path.join(d,'linux')) return result diff --git a/src/CHANGES.txt b/src/CHANGES.txt index dd05249..318bd07 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -189,6 +189,7 @@ RELEASE 2.1.0.alpha.yyyymmdd - NEW DATE WILL BE INSERTED HERE - Remove warning for not finding MS VC/VS install. "scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly" + - Add support for Linux 3.0 RELEASE 2.0.1 - Mon, 15 Aug 2010 15:46:32 -0700 diff --git a/src/engine/SCons/Tool/intelc.py b/src/engine/SCons/Tool/intelc.py index b4a3c90..1eceff5 100644 --- a/src/engine/SCons/Tool/intelc.py +++ b/src/engine/SCons/Tool/intelc.py @@ -40,7 +40,7 @@ is_windows = sys.platform == 'win32' is_win64 = is_windows and (os.environ['PROCESSOR_ARCHITECTURE'] == 'AMD64' or ('PROCESSOR_ARCHITEW6432' in os.environ and os.environ['PROCESSOR_ARCHITEW6432'] == 'AMD64')) -is_linux = sys.platform == 'linux2' +is_linux = sys.platform.startswith('linux') is_mac = sys.platform == 'darwin' if is_windows: diff --git a/test/LoadableModule.py b/test/LoadableModule.py index 574b0cd..18a9c43 100644 --- a/test/LoadableModule.py +++ b/test/LoadableModule.py @@ -43,6 +43,7 @@ dlopen_line = { 'darwin' : no_dl_lib, 'freebsd4' : no_dl_lib, 'linux2' : use_dl_lib, + 'linux3' : use_dl_lib, } platforms_with_dlopen = list(dlopen_line.keys()) -- cgit v0.12