summaryrefslogtreecommitdiffstats
path: root/test/SharedLibrary.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-10-07 06:08:46 (GMT)
committerSteven Knight <knight@baldmt.com>2003-10-07 06:08:46 (GMT)
commit15f50a47c4cc226b9326d3bb1271e26a62644f22 (patch)
treecab7e290af3df76856fdd92fd923af12b61481cc /test/SharedLibrary.py
parent4f8244d481caa54c663a24d9efdf4c0a592230fc (diff)
downloadSCons-15f50a47c4cc226b9326d3bb1271e26a62644f22.zip
SCons-15f50a47c4cc226b9326d3bb1271e26a62644f22.tar.gz
SCons-15f50a47c4cc226b9326d3bb1271e26a62644f22.tar.bz2
Don't remove temporary files on win32 with rm when cygwin is not in use. (Anthony Roach) Win32 portability fixes.
Diffstat (limited to 'test/SharedLibrary.py')
-rw-r--r--test/SharedLibrary.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/SharedLibrary.py b/test/SharedLibrary.py
index 680cf79..7eb714c 100644
--- a/test/SharedLibrary.py
+++ b/test/SharedLibrary.py
@@ -43,7 +43,9 @@ if sys.platform == 'win32':
env.StaticLibrary(target = 'foo1-static', source = 'f1.c')
else:
env.StaticLibrary(target = 'foo1', source = 'f1.c')
-SharedLibrary(target = 'foo2', source = Split('f2a.c f2b.c f2c.c'))
+SharedLibrary(target = 'foo2',
+ source = Split('f2a.c f2b.c f2c.c'),
+ WIN32_INSERT_DEF = 1)
env.SharedLibrary(target = 'foo3', source = ['f3a.c', 'f3b.c', 'f3c.c'])
env2.Program(target = 'prog', source = 'prog.c')
""")