Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59509 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2010-02-05 07:42:10


Author: vladimir_prus
Date: 2010-02-05 07:42:09 EST (Fri, 05 Feb 2010)
New Revision: 59509
URL: http://svn.boost.org/trac/boost/changeset/59509

Log:
Enable soname for HPUX.

Patch from João Luís Pinto.

Text files modified:
   trunk/tools/build/v2/tools/gcc.jam | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/tools/gcc.jam
==============================================================================
--- trunk/tools/build/v2/tools/gcc.jam (original)
+++ trunk/tools/build/v2/tools/gcc.jam 2010-02-05 07:42:09 EST (Fri, 05 Feb 2010)
@@ -396,6 +396,12 @@
     SONAME_OPTION = -h ;
 }
 
+# HPUX, for some reason, seem to use '+h', not '-h'.
+if [ os.name ] = HPUX
+{
+ HAVE_SONAME = "" ;
+ SONAME_OPTION = +h ;
+}
 
 toolset.flags gcc.compile USER_OPTIONS <cflags> ;
 toolset.flags gcc.compile.c++ USER_OPTIONS <cxxflags> ;


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