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:
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user