summaryrefslogtreecommitdiffstats
path: root/test/Library.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 (GMT)
committerSteven Knight <knight@baldmt.com>2001-10-11 23:13:20 (GMT)
commit6f4f6e4639a3a4a796b28322ba07b9b81f2c354f (patch)
treebf1be1f8cebc4b016b9856f27d1cf84879b547be /test/Library.py
parent580b07ed247ab0de0ea96093fc2c4baa28c35c65 (diff)
downloadSCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.zip
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.gz
SCons-6f4f6e4639a3a4a796b28322ba07b9b81f2c354f.tar.bz2
Implement special variable substitution.
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 4941bbf..7e832ca 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)s %(source)s -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')