summaryrefslogtreecommitdiffstats
path: root/test/VariantDir
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-08-10 11:42:01 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-08-10 11:42:01 (GMT)
commit5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0 (patch)
tree855dd777d15f45bb6fbeb93dc4160af09c10d8b7 /test/VariantDir
parent2f3daaaff1ad6d5252e1583fd65b2a5fd4a95ca7 (diff)
downloadSCons-5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0.zip
SCons-5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0.tar.gz
SCons-5f7882c1ff04fdd3ef3cc44654a2a69911cb73f0.tar.bz2
Removed deprecate fortran lib handling.
Diffstat (limited to 'test/VariantDir')
-rw-r--r--test/VariantDir/VariantDir.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/VariantDir/VariantDir.py b/test/VariantDir/VariantDir.py
index 0092692..1b620bb 100644
--- a/test/VariantDir/VariantDir.py
+++ b/test/VariantDir/VariantDir.py
@@ -28,7 +28,6 @@ import TestSCons
_exe = TestSCons._exe
test = TestSCons.TestSCons()
-fortran_runtime = test.gccFortranLibs()
fortran = test.detect('FORTRAN')
@@ -118,9 +117,9 @@ except:
if fortran and env.Detect(fortran):
env.Command(target='b2.f', source='b2.in', action=buildIt)
- env.Clone(LIBS = %s).Program(target='bar2', source='b2.f')
- env.Clone(LIBS = %s).Program(target='bar1', source='b1.f')
-""" % (fortran_runtime, fortran_runtime))
+ env.Clone().Program(target='bar2', source='b2.f')
+ env.Clone().Program(target='bar1', source='b1.f')
+""")
test.write(['work1', 'src', 'f1.c'], r"""
#include <stdio.h>