$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: grafikrobot_at_[hidden]
Date: 2007-08-25 00:08:28
Author: grafik
Date: 2007-08-25 00:08:28 EDT (Sat, 25 Aug 2007)
New Revision: 38918
URL: http://svn.boost.org/trac/boost/changeset/38918
Log:
On Windows static libs have the lib prefix, but DLLs don't.
Text files modified: 
   trunk/tools/build/v2/test/BoostBuild.py |    12 +++++++++---                            
   1 files changed, 9 insertions(+), 3 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-08-25 00:08:28 EDT (Sat, 25 Aug 2007)
@@ -64,9 +64,10 @@
 features = [ 'threading-multi' ]
 
 lib_prefix = 1
+dll_prefix = 1
 if windows:
-    lib_prefix = 0
-        
+    #~ lib_prefix = 0
+    dll_prefix = 0
     
     
 #
@@ -681,11 +682,16 @@
         pos = string.rfind(name, ".")
         if pos != -1:
             suffix = name[pos:]
-            if suffix in [".lib", ".dll"]:
+            if suffix == ".lib":
                 (head, tail) = os.path.split(name)
                 if lib_prefix:
                     tail = "lib" + tail
                     result = os.path.join(head, tail)
+            elif suffix == ".dll":
+                (head, tail) = os.path.split(name)
+                if dll_prefix:
+                    tail = "lib" + tail
+                    result = os.path.join(head, tail)
         return result
                 
     def adjust_suffix(self, name):