diff options
author | William Deegan <bill@baddogconsulting.com> | 2008-09-20 05:41:43 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2008-09-20 05:41:43 (GMT) |
commit | a366f132c9dd57989997a0cfa980e037a2720628 (patch) | |
tree | 2bdfd26c71842a701bebedaa3873b983334d0836 /QMTest | |
parent | 7211e746b5d9aade28115733867631d476eddffe (diff) | |
download | SCons-a366f132c9dd57989997a0cfa980e037a2720628.zip SCons-a366f132c9dd57989997a0cfa980e037a2720628.tar.gz SCons-a366f132c9dd57989997a0cfa980e037a2720628.tar.bz2 |
Fix test/VariantDir/VariantDir.py on centos5, currently failing as TestSCons.py specifies incorrect fortran library to link against for gcc's newer then 4.0 (aka 4.1.2 which ships with python)
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSCons.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index c7332fa..0cf94b6 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -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 |