Commits

William Deegan committed 7d4a87c

Fix bug 2772

Comments (0)

Files changed (4)

 
         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
 
     - 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

src/engine/SCons/Tool/intelc.py

 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:

test/LoadableModule.py

     'darwin' : no_dl_lib,
     'freebsd4' : no_dl_lib,
     'linux2' : use_dl_lib,
+    'linux3' : use_dl_lib,
 }
 platforms_with_dlopen = list(dlopen_line.keys())