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