From 7c553e33f263ae244cc71ca4067766bda640f13b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 17 Apr 2005 01:30:36 +0000 Subject: [PATCH] Fix setting of dynamic loader path when on systems that do not use "LD_LIBRARY_PATH". Specifically this fixes the execute tests in MacOS-X, where the dyn loader path var is DYLD_LIBRARY_PATH. [SVN r28285] --- v1/boost-base.jam | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/v1/boost-base.jam b/v1/boost-base.jam index 6371a44d5..f624c4d59 100644 --- a/v1/boost-base.jam +++ b/v1/boost-base.jam @@ -1740,6 +1740,12 @@ else .shell-var(LD_LIBRARY_PATH) = PATH ; } + # Dynamic libraries search path var is loader, and hence system, dependant. + else + { + .shell-var(LD_LIBRARY_PATH) = $(gSHELL_LIBPATH) ; + } + # The names of path variables in the shell .run-path-shell-vars = [ unique $(.shell-var($(.run-path-vars))) ] ;