diff --git a/project-root.jam b/project-root.jam index 0fa2393c8..240efd24e 100644 --- a/project-root.jam +++ b/project-root.jam @@ -312,7 +312,8 @@ module project-root-context { import project ; import path ; - project.use $(id) : [ path.root $(location) [ project-root get-location ] ] ; + project.use $(id) : [ path.root + [ path.make $(location) ] [ project-root get-location ] ] ; } } diff --git a/src/build/project.jam b/src/build/project.jam index 2af9fb2fe..43d6291fe 100644 --- a/src/build/project.jam +++ b/src/build/project.jam @@ -608,7 +608,8 @@ module project-rules { { import project ; local attributes = [ project.attributes $(__name__) ] ; - project.use $(id) : [ path.root $(where) [ $(attributes).get location ] ] ; + project.use $(id) : [ path.root + [ path.make $(where) ] [ $(attributes).get location ] ] ; } rule build-project ( dir )