diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-11-02 15:46:36 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-11-02 15:46:36 (GMT) |
commit | 6660a1b75c021994ccf352bb5314935d533b7994 (patch) | |
tree | b0416713e8f5a1ab6ae3273972b7007f74221247 /test/Libs | |
parent | e2376cfadf13cfaa685d4774aaa3986efa4cfdff (diff) | |
download | SCons-6660a1b75c021994ccf352bb5314935d533b7994.zip SCons-6660a1b75c021994ccf352bb5314935d533b7994.tar.gz SCons-6660a1b75c021994ccf352bb5314935d533b7994.tar.bz2 |
One more test fix for bug2903 (my Windows fix broke Linux)
Diffstat (limited to 'test/Libs')
-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 f7cc35d..1590062 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]) |