summaryrefslogtreecommitdiffstats
path: root/test/ARFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ARFLAGS.py')
-rw-r--r--test/ARFLAGS.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ARFLAGS.py b/test/ARFLAGS.py
index 54cb463..a9dc572 100644
--- a/test/ARFLAGS.py
+++ b/test/ARFLAGS.py
@@ -44,10 +44,8 @@ os.system(string.join(sys.argv[1:], " "))
test.write('SConstruct', """
foo = Environment(LIBS = ['foo'], LIBPATH = ['.'])
-ar = foo.Dictionary('AR')
-arflags = foo.Dictionary('ARFLAGS')
bar = Environment(LIBS = ['bar'], LIBPATH = ['.'],
- AR = '', ARFLAGS = r'%s wrapper.py ' + ar + ' ' + arflags)
+ AR = '', ARFLAGS = foo.subst(r'%s wrapper.py $AR $ARFLAGS'))
foo.Library(target = 'foo', source = 'foo.c')
bar.Library(target = 'bar', source = 'bar.c')