2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Preserve the user's existing LD_LIBRARY_PATH when linking under GCC so

that they don't unexpectedly encode paths to undesired libraries.  See
boost posting from Jeff Gray <jeffg-at-magtech.com.au> for details.


[SVN r19578]
This commit is contained in:
Dave Abrahams
2003-08-14 07:22:27 +00:00
parent 29cdeb0dfc
commit 2330a25772
6 changed files with 14 additions and 18 deletions

View File

@@ -397,15 +397,8 @@ rule python-test-target ( test-target : sources + )
}
}
if $(UNIX)
if $(NT)
{
gAPPEND_LD_LIBRARY_PATH = ":$"$(gSHELL_LIBPATH) ;
gAPPEND_PATH = ":$"PATH ;
}
else if $(NT)
{
gAPPEND_LD_LIBRARY_PATH = "" ;
gAPPEND_PATH = ";%PATH%" ;
PYTHON_SHELL_LIBPATH = LD_LIBRARY_PATH ;
}
PYTHON_SHELL_LIBPATH ?= $(gSHELL_LIBPATH) ;