Skip to content

Commit a100fbd

Browse files
authored
Fix stage target to not use undefined BOOST_STAGE_LOCATE
1 parent f57016e commit a100fbd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Jamroot

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ import notfile ;
133133
import virtual-target ;
134134
import "class" : new ;
135135
import property-set ;
136+
import option ;
136137

137138
path-constant BOOST_ROOT : . ;
138139
constant BOOST_VERSION : 1.65.0 ;
@@ -292,7 +293,9 @@ rule boost-install ( libraries * )
292293
: # No headers, it is handled by the dependency.
293294
;
294295

295-
install stage : $(libraries) : <location>$(BOOST_STAGE_LOCATE) ;
296+
local stage-locate = [ option.get stagedir : $(BOOST_ROOT)/stage ] ;
297+
298+
install stage : $(libraries) : <location>$(stage-locate) ;
296299

297300
module [ CALLER_MODULE ]
298301
{

0 commit comments

Comments
 (0)