Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-17 04:07:55


Hi Daniel,
> Mac OS X uses DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH to specify
> additional search paths for dynamic libraries. The attached patch makes
> it possible to use dynamically linked unit tests on OS X.

Thanks for the patch!

The current CVS has evolved a bit in runtime-path handling, so your
patch cannot be directly applied. Instead, I've committed the attached,
that should have the same effect.

Thanks,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 --Boundary-00=_sLpsCMsoqt/kO7v Content-Type: text/x-diff;
charset="koi8-r";
name="os.jam.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="os.jam.diff"
Index: os.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/util/os.jam,v
retrieving revision 1.11
diff -u -r1.11 os.jam
--- os.jam	16 Jun 2005 07:24:15 -0000	1.11
+++ os.jam	17 Jun 2005 09:05:41 -0000
@@ -52,6 +52,8 @@
.expand-variable-prefix-CYGWIN = $ ;
.expand-variable-suffix-CYGWIN = "" ;
+.shared-library-path-variable-MACOSX = DYLD_LIBRARY_PATH ;
+
.shared-library-path-variable = LD_LIBRARY_PATH ;
.path-separator = ":" ;
 --Boundary-00=_sLpsCMsoqt/kO7v-- 

Boost-Build 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