2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 13:42:14 +00:00

Fix a bug introduces in 1.8 which broke gcc tests. Do not think that import

libraries are used with gcc, even on NT. The previos version assumed that
import libraries are always used on NT.


[SVN r18230]
This commit is contained in:
Vladimir Prus
2003-04-11 06:31:14 +00:00
parent a8bc2852a6
commit 45cd767871
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ t.expect_addition("lib/bin/$toolset/debug/test_lib.dll")
# Auto adjusting of suffixes does not work, since we need to
# change dll to lib.
#
if os.name == 'nt' or ( os.uname()[0].lower().startswith('cygwin') and get_toolset() != 'gcc') :
if (os.name == 'nt' or os.uname()[0].lower().startswith('cygwin')) and get_toolset() != 'gcc':
t.copy("lib/bin/$toolset/debug/test_lib.lib", "lib/test_lib.lib")
else:
t.copy("lib/bin/$toolset/debug/test_lib.dll", "lib/libtest_lib.dll")

View File

@@ -24,7 +24,7 @@ t.expect_addition("lib/bin/$toolset/debug/test_lib.dll")
# Auto adjusting of suffixes does not work, since we need to
# change dll to lib.
#
if os.name == 'nt' or ( os.uname()[0].lower().startswith('cygwin') and get_toolset() != 'gcc') :
if (os.name == 'nt' or os.uname()[0].lower().startswith('cygwin')) and get_toolset() != 'gcc':
t.copy("lib/bin/$toolset/debug/test_lib.lib", "lib/test_lib.lib")
else:
t.copy("lib/bin/$toolset/debug/test_lib.dll", "lib/libtest_lib.dll")