|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51697 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2009-03-11 08:43:25
Author: vladimir_prus
Date: 2009-03-11 08:43:24 EDT (Wed, 11 Mar 2009)
New Revision: 51697
URL: http://svn.boost.org/trac/boost/changeset/51697
Log:
Use -bnoipath on vacpp/AIX.
Patch from Etienne PIERRE. Fixes #2843.
Text files modified:
trunk/tools/build/v2/tools/vacpp.jam | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/tools/vacpp.jam
==============================================================================
--- trunk/tools/build/v2/tools/vacpp.jam (original)
+++ trunk/tools/build/v2/tools/vacpp.jam 2009-03-11 08:43:24 EDT (Wed, 11 Mar 2009)
@@ -75,6 +75,22 @@
flags vacpp.compile C++FLAGS : -qfuncsect ;
flags vacpp.link LINKFLAGS <link>static : -qtwolink ;
+
+ # The -bnoipath strips the prepending (relative) path of libraries from
+ # the loader section in the target library or executable. Hence, during
+ # load-time LIBPATH (identical to LD_LIBRARY_PATH) or a hard-coded
+ # -blibpath (*similar* to -lrpath/-lrpath-link) is searched. Without
+ # this option, the prepending (relative) path + library name is
+ # hard-coded in the loader section, causing *only* this path to be
+ # searched during load-time. Note that the AIX linker does not have an
+ # -soname equivalent, this is as close as it gets.
+ #
+ # The above options are definately for AIX 5.x, and most likely also for
+ # AIX 4.x and AIX 6.x. For details about the AIX linker see:
+ # http://download.boulder.ibm.com/ibmdl/pub/software/dw/aix/es-aix_ll.pdf
+ #
+ flags vacpp.link LINKFLAGS <link>shared : -bnoipath ;
+
# Run-time linking
flags vacpp.link EXE-LINKFLAGS <link>shared : -brtl -qtwolink ;
}
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