Boost logo

Boost-Commit :

From: kbelco_at_[hidden]
Date: 2007-12-04 22:11:26


Author: noel_belcourt
Date: 2007-12-04 22:11:25 EST (Tue, 04 Dec 2007)
New Revision: 41734
URL: http://svn.boost.org/trac/boost/changeset/41734

Log:
Pgi compilers can't accept shared library with Boost version
suffix appended to it. Add logic to tag rule in Jamroot to
suppress appending version suffix for pgi toolset.

Text files modified:
   trunk/Jamroot | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/Jamroot
==============================================================================
--- trunk/Jamroot (original)
+++ trunk/Jamroot 2007-12-04 22:11:25 EST (Tue, 04 Dec 2007)
@@ -320,8 +320,10 @@
             # On OSX, version suffix is not needed -- the linker expets
             # libFoo.1.2.3.dylib format.
             # AIX linkers don't accept version suffixes either.
+ # Pgi compilers can't accept library with version suffix
             if $(type) = SHARED_LIB &&
- ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix )
+ ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
+ ! ( [ $(property-set).get <toolset> ] in pgi ) )
             {
                 result = $(result).$(BOOST_VERSION) ;
             }


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