From ff9dd2da762ab61081325a523ecd3a8cf5d05da4 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 8 Jun 2004 05:57:29 +0000 Subject: [PATCH] * build/project.jam (initialize): Don't call path.make when location is empty (which happens for standalone projects such as stlport). Thanks to Jurgen Hunold for the bug report. [SVN r23051] --- src/build/project.jam | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/build/project.jam b/src/build/project.jam index 1dde30987..cf3097d7f 100644 --- a/src/build/project.jam +++ b/src/build/project.jam @@ -275,7 +275,15 @@ rule initialize ( $(module-name).attributes = [ new project-attributes $(location) ] ; local attributes = $($(module-name).attributes) ; - $(attributes).set source-location : [ path.make $(location) ] : exact ; + if $(location) + { + $(attributes).set source-location : [ path.make $(location) ] : exact ; + } + else + { + $(attributes).set source-location : "" : exact ; + } + $(attributes).set requirements : [ property-set.empty ] : exact ; $(attributes).set usage-requirements : [ property-set.empty ] : exact ;