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

Fix up RUN_PATH for testing

[SVN r14461]
This commit is contained in:
Dave Abrahams
2002-07-14 22:09:22 +00:00
parent c2eaee4aaf
commit b9687a4679
2 changed files with 10 additions and 2 deletions

View File

@@ -18,11 +18,15 @@
# tests, and seems to be unneeded for the regression tests, but it
# is a slight hack.
local root = [ get-stlport-root ] ;
if ! $(root)/lib in $(gTOOLSET_LIB_PATH)
if ! [ MATCH $(root)[\\\\/]lib : $(gTOOLSET_LIB_PATH) ]
{
# Stick it at the front of the path because Windows only seems
# to be willing to look so far, then quits!
gTOOLSET_LIB_PATH = $(root)/lib $(gTOOLSET_LIB_PATH) ;
}
if ! [ MATCH $(root)[\\\\/]lib : $(RUN_PATH) ]
{
RUN_PATH = $(root)/lib $(RUN_PATH) ;
}
}

View File

@@ -18,11 +18,15 @@
# tests, and seems to be unneeded for the regression tests, but it
# is a slight hack.
local root = [ get-stlport-root ] ;
if ! $(root)/lib in $(gTOOLSET_LIB_PATH)
if ! [ MATCH $(root)[\\\\/]lib : $(gTOOLSET_LIB_PATH) ]
{
# Stick it at the front of the path because Windows only seems
# to be willing to look so far, then quits!
gTOOLSET_LIB_PATH = $(root)/lib $(gTOOLSET_LIB_PATH) ;
}
if ! [ MATCH $(root)[\\\\/]lib : $(RUN_PATH) ]
{
RUN_PATH = $(root)/lib $(RUN_PATH) ;
}
}