Fix stage target to not use undefined BOOST_STAGE_LOCATE (#146)

This commit is contained in:
Peter Dimov 2017-12-17 03:51:38 +02:00
parent d0a163f2f5
commit 4141ff2231

View file

@ -134,6 +134,7 @@ import virtual-target ;
import "class" : new ;
import property-set ;
import threadapi-feature ;
import option ;
path-constant BOOST_ROOT : . ;
constant BOOST_VERSION : 1.66.0 ;
@ -299,7 +300,9 @@ rule boost-install ( libraries * )
: # No headers, it is handled by the dependency.
;
install stage : $(libraries) : <location>$(BOOST_STAGE_LOCATE) ;
local stage-locate = [ option.get stagedir : $(BOOST_ROOT)/stage ] ;
install stage : $(libraries) : <location>$(stage-locate)/lib ;
module [ CALLER_MODULE ]
{