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

Fix a bug preventing absolute path names in "build-project".

[SVN r32311]
This commit is contained in:
Vladimir Prus
2006-01-13 08:18:00 +00:00
parent 6585ab5128
commit c35ccc213d
2 changed files with 3 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ rule load ( jamfile-location )
# loading the current Jamfile.
for local p in [ attribute $(module-name) projects-to-build ]
{
load [ path.join $(jamfile-location) $(p) ] ;
load [ path.root $(p) $(jamfile-location) ] ;
}
local used = [ modules.peek $(module-name) : .used-projects ] ;

View File

@@ -280,7 +280,8 @@ class project-target : abstract-target
local self-location = [ get location ] ;
for local pn in [ get projects-to-build ]
{
local p = [ project.module-name [ path.join $(self-location) $(pn) ] ] ;
local p = [ project.module-name
[ path.root $(pn) $(self-location) ] ] ;
result += [ project.target $(p) ] ;
}