Fix test/VariantDir/VariantDir.py on centos5, currently failing as TestSCons.py speci...
authorbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 20 Sep 2008 05:41:43 +0000 (05:41 +0000)
committerbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 20 Sep 2008 05:41:43 +0000 (05:41 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3442 fdb21ef1-2011-0410-befe-b5e4ea1792b1

QMTest/TestSCons.py

index c7332fac991b9593360446d83e7a198cb98f2b06..0cf94b6b39f03480a3cbfc6dd53df6fde5673cd9 100644 (file)
@@ -110,6 +110,9 @@ def gccFortranLibs():
     for l in stderr.readlines():
         list = string.split(l)
         if len(list) > 3 and list[:2] == ['gcc', 'version']:
+             if list[2][:3] in ('4.1','4.2','4.3'):
+                 libs = ['gfortranbegin']
+                 break
             if list[2][:2] in ('3.', '4.'):
                 libs = ['frtbegin'] + libs
                 break