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:
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user