diff options
Diffstat (limited to 'test/LIBPATH.py')
-rw-r--r-- | test/LIBPATH.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/LIBPATH.py b/test/LIBPATH.py index 1ea7ed8..7fd4f9b 100644 --- a/test/LIBPATH.py +++ b/test/LIBPATH.py @@ -45,7 +45,7 @@ env1 = Environment(LIBS = [ 'foo1' ], LIBPATH = [ '$FOO' ], FOO='./lib1') -f1 = env1.Object('f1', 'f1.c') +f1 = env1.SharedObject('f1', 'f1.c') env1.Program(target = 'prog', source = 'prog.c') env1.Library(target = './lib1/foo1', source = f1) @@ -127,7 +127,7 @@ test.write('SConstruct', """ env1 = Environment(LIBS = [ 'foo1' ], LIBPATH = [ './lib1', './lib2' ]) -f1 = env1.Object('f1', 'f1.c') +f1 = env1.SharedObject('f1', 'f1.c') env1.Program(target = 'prog', source = 'prog.c') env1.Library(target = './lib1/foo1', source = f1) |