2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00

* 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]
This commit is contained in:
Vladimir Prus
2004-06-08 05:57:29 +00:00
parent 139a8a6c48
commit ff9dd2da76

View File

@@ -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 ;