diff --git a/new/project.jam b/new/project.jam index 6fef16687..772f9521a 100644 --- a/new/project.jam +++ b/new/project.jam @@ -344,7 +344,8 @@ rule inherit-attributes ( project-module : project-root-module : parent-module ? { local attributes = $($(project-module).attributes) ; local pattributes = [ attributes $(parent-module) ] ; - $(attributes).set parent : [ path.parent $(parent-module) ] ; + $(attributes).set parent : [ path.parent + [ modules.binding $(parent-module) ] ] ; $(attributes).set default-build : [ $(pattributes).get default-build ] ; $(attributes).set requirements diff --git a/v2/build/project.jam b/v2/build/project.jam index 6fef16687..772f9521a 100644 --- a/v2/build/project.jam +++ b/v2/build/project.jam @@ -344,7 +344,8 @@ rule inherit-attributes ( project-module : project-root-module : parent-module ? { local attributes = $($(project-module).attributes) ; local pattributes = [ attributes $(parent-module) ] ; - $(attributes).set parent : [ path.parent $(parent-module) ] ; + $(attributes).set parent : [ path.parent + [ modules.binding $(parent-module) ] ] ; $(attributes).set default-build : [ $(pattributes).get default-build ] ; $(attributes).set requirements