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