summaryrefslogtreecommitdiffstats
path: root/test/CC/SHCCFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CC/SHCCFLAGS.py')
-rw-r--r--test/CC/SHCCFLAGS.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CC/SHCCFLAGS.py b/test/CC/SHCCFLAGS.py
index 316da0f..fc9264f 100644
--- a/test/CC/SHCCFLAGS.py
+++ b/test/CC/SHCCFLAGS.py
@@ -50,11 +50,11 @@ foo.SharedLibrary(target = 'foo', source = foo_obj)
bar_obj = bar.SharedObject(target = 'bar', source = 'prog.c')
bar.SharedLibrary(target = 'bar', source = bar_obj)
-fooMain = foo.Copy(LIBS='foo', LIBPATH='.')
+fooMain = foo.Clone(LIBS='foo', LIBPATH='.')
foomain_obj = fooMain.Object(target='foomain', source='main.c')
fooMain.Program(target='fooprog', source=foomain_obj)
-barMain = bar.Copy(LIBS='bar', LIBPATH='.')
+barMain = bar.Clone(LIBS='bar', LIBPATH='.')
barmain_obj = barMain.Object(target='barmain', source='main.c')
barMain.Program(target='barprog', source=barmain_obj)
""" % (fooflags, barflags))
@@ -116,7 +116,7 @@ bar.SharedLibrary(target = 'foo', source = foo_obj)
bar_obj = bar.SharedObject(target = 'bar', source = 'prog.c')
bar.SharedLibrary(target = 'bar', source = bar_obj)
-barMain = bar.Copy(LIBS='bar', LIBPATH='.')
+barMain = bar.Clone(LIBS='bar', LIBPATH='.')
foomain_obj = barMain.Object(target='foomain', source='main.c')
barmain_obj = barMain.Object(target='barmain', source='main.c')
barMain.Program(target='barprog', source=foomain_obj)