diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-11-02 11:46:36 -0400 |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-11-02 11:46:36 -0400 |
commit | 9869c87359b8e1a73c18f281ed8fe066d351a210 (patch) | |
tree | 844ef928757257eab088540703db4da7a4577aac | |
parent | dacdf383d2935d9454c4b67402dc56821067bdb9 (diff) | |
download | scons-9869c87359b8e1a73c18f281ed8fe066d351a210.tar.gz |
One more test fix for bug2903 (my Windows fix broke Linux)
-rw-r--r-- | test/Libs/bug2903/SConstruct-libs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Libs/bug2903/SConstruct-libs b/test/Libs/bug2903/SConstruct-libs index f7cc35db..15900628 100644 --- a/test/Libs/bug2903/SConstruct-libs +++ b/test/Libs/bug2903/SConstruct-libs @@ -1,4 +1,5 @@ env=Environment() libfoo = env.SharedLibrary('foo', 'lib.c') env.InstallAs('${SHLIBPREFIX}bar${SHLIBSUFFIX}', libfoo[0]) -env.InstallAs('${LIBPREFIX}bar${LIBSUFFIX}', libfoo[1]) +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]) |