Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/boostorg/boost.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dimov <pdimov@pdimov.com>2017-12-17 04:51:38 +0300
committerPeter Dimov <pdimov@pdimov.com>2017-12-22 01:06:18 +0300
commit4141ff223154ca6176a46a84b52bd7b12f5fb16c (patch)
tree98af6bbf380ca31c391901ddd173b9ef88d098cc /Jamroot
parentd0a163f2f5edb1d3307bb1f3d68f9099b34582c1 (diff)
Fix stage target to not use undefined BOOST_STAGE_LOCATE (#146)
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot5
1 files changed, 4 insertions, 1 deletions
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) : <location>$(BOOST_STAGE_LOCATE) ;
+ local stage-locate = [ option.get stagedir : $(BOOST_ROOT)/stage ] ;
+
+ install stage : $(libraries) : <location>$(stage-locate)/lib ;
module [ CALLER_MODULE ]
{