summaryrefslogtreecommitdiffstats
path: root/test/Library.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Library.py')
-rw-r--r--test/Library.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Library.py b/test/Library.py
index 7e832ca..3c50f3d 100644
--- a/test/Library.py
+++ b/test/Library.py
@@ -31,7 +31,7 @@ test = TestSCons.TestSCons()
#XXX Need to switch TestBld to Program() when LIBS variable is working.
test.write('SConstruct', """
TestBld = Builder(name='TestBld',
- action='cc -o $target $sources -L./ -lfoo1 -lfoo2 -lfoo3')
+ action='cc -o $TARGET $SOURCES -L./ -lfoo1 -lfoo2 -lfoo3')
env = Environment(BUILDERS=[ TestBld, Library ])
env.Library(target = 'foo1', source = 'f1.c')
env.Library(target = 'foo2', source = 'f2a.c f2b.c f2c.c')