summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dimov <pdimov@pdimov.com>2017-06-30 20:06:49 +0300
committerPeter Dimov <pdimov@pdimov.com>2017-12-16 17:53:20 +0200
commit33704a3baaf73aafe1e2b987ce6dd15abb0b04ee (patch)
tree62900419dc59287e1d3df9ef4607e9b65d3af7e8
parent175ebd6c2b603914e9e9f7caab25e8ff6eb9041e (diff)
downloadboost-pdimov-patch-2.tar.gz
Fix stage target to not use undefined BOOST_STAGE_LOCATEpdimov-patch-2
-rw-r--r--Jamroot5
1 files changed, 4 insertions, 1 deletions
diff --git a/Jamroot b/Jamroot
index 03cb10130f..a917f4725f 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) : <location>$(BOOST_STAGE_LOCATE) ;
+ local stage-locate = [ option.get stagedir : $(BOOST_ROOT)/stage ] ;
+
+ install stage : $(libraries) : <location>$(stage-locate)/lib ;
module [ CALLER_MODULE ]
{