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

Fix the way paths are adjusted for Cygwin

[SVN r27097]
This commit is contained in:
Dave Abrahams
2005-02-04 20:17:49 +00:00
parent 194b4f9b2c
commit b88077a679

View File

@@ -278,17 +278,9 @@ rule run-path-setup ( target : source : properties * )
{
dll-paths = [ sequence.transform path.native : $(dll-paths) ] ;
local var-name = LD_LIBRARY_PATH ;
# Even on cygwin, the LD_LIBRARY_PATH has no effect, need to
# use PATH.
if [ os.on-windows ]
{
var-name = PATH ;
}
PATH_SETUP on $(target) =
[ common.path-variable-setting-command $(var-name)
: $(dll-paths) $$(var-name) : exported ] ;
[ common.prepend-path-variable-command
[ os.shared-library-path-variable ] : $(dll-paths) ] ;
}
}