From 4141ff223154ca6176a46a84b52bd7b12f5fb16c Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 17 Dec 2017 03:51:38 +0200 Subject: [PATCH] Fix stage target to not use undefined BOOST_STAGE_LOCATE (#146) --- Jamroot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jamroot b/Jamroot index 662c503345..6469e95b2b 100644 --- a/Jamroot +++ b/Jamroot @@ -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) : $(BOOST_STAGE_LOCATE) ; + local stage-locate = [ option.get stagedir : $(BOOST_ROOT)/stage ] ; + + install stage : $(libraries) : $(stage-locate)/lib ; module [ CALLER_MODULE ] {