|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52270 - trunk/tools/build/v2/tools
From: DDeakins_at_[hidden]
Date: 2009-04-08 17:11:26
Author: davedeakins
Date: 2009-04-08 17:11:25 EDT (Wed, 08 Apr 2009)
New Revision: 52270
URL: http://svn.boost.org/trac/boost/changeset/52270
Log:
As of STLport 5.2, the version number is no longer included in the name of the static libraries.
Text files modified:
trunk/tools/build/v2/tools/stlport.jam | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/tools/stlport.jam
==============================================================================
--- trunk/tools/build/v2/tools/stlport.jam (original)
+++ trunk/tools/build/v2/tools/stlport.jam 2009-04-08 17:11:25 EDT (Wed, 08 Apr 2009)
@@ -142,7 +142,14 @@
name += _static ;
}
- name += .$(self.version.5) ;
+ # Starting with version 5.2.0, the STLport static libraries no longer
+ # include a version number in their name
+ local version.pre.5.2 = [ MATCH "^(5[.][01]+).*" : $(version) ] ;
+ if $(version.pre.5.2) || [ feature.get-values <runtime-link> : $(raw) ] != "static"
+ {
+ name += .$(self.version.5) ;
+ }
+
name = $(name:J=) ;
if [ feature.get-values <install-dependencies> : $(raw) ] = "on"
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