Skip to content

Commit 4141ff2

Browse files
committed
Fix stage target to not use undefined BOOST_STAGE_LOCATE (boostorg#146)
1 parent d0a163f commit 4141ff2

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
@@ -134,6 +134,7 @@ import virtual-target ;
134134
import "class" : new ;
135135
import property-set ;
136136
import threadapi-feature ;
137+
import option ;
137138

138139
path-constant BOOST_ROOT : . ;
139140
constant BOOST_VERSION : 1.66.0 ;
@@ -299,7 +300,9 @@ rule boost-install ( libraries * )
299300
: # No headers, it is handled by the dependency.
300301
;
301302

302-
install stage : $(libraries) : <location>$(BOOST_STAGE_LOCATE) ;
303+
local stage-locate = [ option.get stagedir : $(BOOST_ROOT)/stage ] ;
304+
305+
install stage : $(libraries) : <location>$(stage-locate)/lib ;
303306

304307
module [ CALLER_MODULE ]
305308
{

0 commit comments

Comments
 (0)