summaryrefslogtreecommitdiffstats
path: root/test/Libs/bug2903/SConstruct-libs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Libs/bug2903/SConstruct-libs')
-rw-r--r--test/Libs/bug2903/SConstruct-libs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Libs/bug2903/SConstruct-libs b/test/Libs/bug2903/SConstruct-libs
new file mode 100644
index 0000000..1590062
--- /dev/null
+++ b/test/Libs/bug2903/SConstruct-libs
@@ -0,0 +1,5 @@
+env=Environment()
+libfoo = env.SharedLibrary('foo', 'lib.c')
+env.InstallAs('${SHLIBPREFIX}bar${SHLIBSUFFIX}', libfoo[0])
+if len(libfoo) > 1: # on Windows, there's an import lib (also a .exp, but we don't want that)
+ env.InstallAs('${LIBPREFIX}bar${LIBSUFFIX}', libfoo[1])