Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2007-10-09 02:37:03


Author: vladimir_prus
Date: 2007-10-09 02:37:00 EDT (Tue, 09 Oct 2007)
New Revision: 39831
URL: http://svn.boost.org/trac/boost/changeset/39831

Log:
Attemp to fix searched_lib on windows
Text files modified:
   trunk/tools/build/v2/test/BoostBuild.py | 2 ++
   trunk/tools/build/v2/test/searched_lib.py | 2 +-
   2 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/test/BoostBuild.py
==============================================================================
--- trunk/tools/build/v2/test/BoostBuild.py (original)
+++ trunk/tools/build/v2/test/BoostBuild.py 2007-10-09 02:37:00 EDT (Tue, 09 Oct 2007)
@@ -72,11 +72,13 @@
 def prepare_suffix_map(toolset):
     global windows, suffixes
     suffixes = {'.exe': '', '.dll': '.so', '.lib': '.a', '.obj': '.o'}
+ suffixes['.implib'] = '.no_implib_files_on_this_platform'
     if windows:
         suffixes = {}
         if toolset in ["gcc"]:
             suffixes['.lib'] = '.a' # static libs have '.a' suffix with mingw...
             suffixes['.obj'] = '.o'
+ suffixes['.implib'] = '.lib'
     if os.__dict__.has_key('uname') and os.uname()[0] == 'Darwin':
         suffixes['.dll'] = '.dylib'
 

Modified: trunk/tools/build/v2/test/searched_lib.py
==============================================================================
--- trunk/tools/build/v2/test/searched_lib.py (original)
+++ trunk/tools/build/v2/test/searched_lib.py 2007-10-09 02:37:00 EDT (Tue, 09 Oct 2007)
@@ -30,7 +30,7 @@
 # change dll to lib.
 #
 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")
+ t.copy("lib/bin/$toolset/debug/test_lib.implib", "lib/test_lib.implib")
     t.copy("lib/bin/$toolset/debug/test_lib.dll", "lib/test_lib.dll")
 else:
     t.copy("lib/bin/$toolset/debug/test_lib.dll", "lib/test_lib.dll")


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk