Windows portability: Avoid duplicate foo.lib targets by telling
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 10 Nov 2008 05:25:31 +0000 (05:25 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 10 Nov 2008 05:25:31 +0000 (05:25 +0000)
env.SharedLibrary() to not build an import library.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3776 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/option/debug-includes.py

index 41e5a84217bcc6a751d9f9b2fe166a7c75cfb5a4..de9b2887ec321aab30014b9c4b98dce8d207b044 100644 (file)
@@ -47,7 +47,7 @@ env = Environment(OBJSUFFIX = '.obj',
                   )
 env.Program('foo.exe', ['foo.c', 'bar.c'])
 env.StaticLibrary('foo', ['foo.c', 'bar.c'])
-env.SharedLibrary('foo', ['foo.c', 'bar.c'])
+env.SharedLibrary('foo', ['foo.c', 'bar.c'], no_import_lib=True)
 """)
 
 test.write('foo.c', r"""