$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Heck (dheck_at_[hidden])
Date: 2005-06-17 03:52:47
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.
Cheers
Daniel
--------------020203070902020707070906 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
name="testing_osx.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="testing_osx.patch"
--- testing.jam.orig 2005-06-17 10:46:32.000000000 +0200
+++ testing.jam 2005-06-16 17:50:44.000000000 +0200
@@ -282,6 +282,12 @@
PATH_SETUP on $(target) =
[ common.path-variable-setting-command PATH : $(dll-paths) %PATH% ] ;
}
+ else if [ modules.peek : OS ] = MACOSX
+ {
+ PATH_SETUP on $(target) =
+ [ common.path-variable-setting-command DYLD_LIBRARY_PATH :
+ $(dll-paths) $DYLD_LIBRARY_PATH : exported ] ;
+ }
else
{
PATH_SETUP on $(target) =
--------------020203070902020707070906--