Przeglądaj źródła

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

Peter Dimov 8 lat temu
rodzic
commit
4141ff2231
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      Jamroot

+ 4 - 1
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 ]
     {

粤ICP备19079148号