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

Set LD_LIBRARY_PATH when running tests built with intel-linux.

[SVN r33515]
This commit is contained in:
Vladimir Prus
2006-03-29 11:05:05 +00:00
parent 2813affa7d
commit cb4bb153c5

View File

@@ -43,7 +43,24 @@ rule init ( version ? : command * : options * )
common.handle-options intel-linux : $(condition) : $(command) : $(options) ;
gcc.init-link-flags intel-linux gnu $(condition) ;
local root = [ feature.get-values <root> : $(options) ] ;
local bin ;
if $(command)
{
bin ?= [ common.get-absolute-tool-path $(command[-1]) ] ;
root ?= $(bin:D) ;
if $(command)
{
local lib_path = $(root)/lib ;
if $(.debug-configuration)
{
ECHO notice: using intel libraries :: $(condition) :: $(lib_path) ;
}
flags intel-linux.link RUN_PATH $(condition) : $(lib_path) ;
}
}
}
SPACE = " " ;