From 877eb5801a722077cb86c35ff956a2f8d88ecad9 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 3 Jun 2004 07:46:48 +0000 Subject: [PATCH] Add missing 'path.make' for source-location attribute. Thanks to Victor A. Wagner for discovering the problem. [SVN r23016] --- v2/build/project.jam | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v2/build/project.jam b/v2/build/project.jam index 17ec345d5..37898d25d 100644 --- a/v2/build/project.jam +++ b/v2/build/project.jam @@ -275,7 +275,7 @@ rule initialize ( $(module-name).attributes = [ new project-attributes $(location) ] ; local attributes = $($(module-name).attributes) ; - $(attributes).set source-location : $(location) : exact ; + $(attributes).set source-location : [ path.make $(location) ] : exact ; $(attributes).set requirements : [ property-set.empty ] : exact ; $(attributes).set usage-requirements : [ property-set.empty ] : exact ; @@ -441,7 +441,8 @@ class project-attributes } else if $(attribute) = "source-location" { - self.source-location = [ path.root $(specification) $(self.location) ] ; + self.source-location = [ path.root + [ path.make $(specification) ] $(self.location) ] ; } else if $(attribute) = "build-dir" {