diff options
Diffstat (limited to 'test/RANLIBFLAGS.py')
-rw-r--r-- | test/RANLIBFLAGS.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/RANLIBFLAGS.py b/test/RANLIBFLAGS.py index 5549e94..752f685 100644 --- a/test/RANLIBFLAGS.py +++ b/test/RANLIBFLAGS.py @@ -64,8 +64,10 @@ bar = Environment(LIBS = ['bar'], LIBPATH = ['.'], RANLIB = '', foo.Library(target = 'foo', source = 'foo.c') bar.Library(target = 'bar', source = 'bar.c') -foo.Program(target = 'f', source = 'main.c') -bar.Program(target = 'b', source = 'main.c') +main = foo.Object('main', 'main.c') + +foo.Program(target = 'f', source = main) +bar.Program(target = 'b', source = main) """ % python) test.write('foo.c', r""" |