From f4e92ea4a8a5dea1b6aeb86196d6b4d46865ea36 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 27 Aug 2003 14:03:37 +0000 Subject: [PATCH] Fix up setting of 'parent' attribute on project. [SVN r19807] --- new/project.jam | 3 ++- v2/build/project.jam | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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