summaryrefslogtreecommitdiff
path: root/Jamroot
diff options
context:
space:
mode:
authorPeter Dimov <pdimov@gmail.com>2019-05-26 18:49:12 +0300
committerPeter Dimov <pdimov@gmail.com>2019-06-17 13:04:25 +0300
commit4a6094af6495a9cb944ae8f6de58e795a4910625 (patch)
treeb60840163b2dd04a3515a983dc8ebe2105f05c90 /Jamroot
parent85d1d3fbbb70008cafdcd123701dbbe69541e622 (diff)
downloadboost-4a6094af6495a9cb944ae8f6de58e795a4910625.tar.gz
Fix `bcp --namespace` issues
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot5
1 files changed, 3 insertions, 2 deletions
diff --git a/Jamroot b/Jamroot
index e0d7c90f51..4e913c2b3f 100644
--- a/Jamroot
+++ b/Jamroot
@@ -140,7 +140,8 @@ import "class" : new ;
import property-set ;
import threadapi-feature ;
import option ;
-import tools/boost_install/boost-install ;
+# Backslash because of `bcp --namespace`
+import tools/boost\_install/boost-install ;
path-constant BOOST_ROOT : . ;
constant BOOST_VERSION : 1.71.0 ;
@@ -311,8 +312,8 @@ rule boost-install ( libraries * )
# stage and install targets via boost-install, above.
rule boost-lib ( name : sources * : requirements * : default-build * : usage-requirements * )
{
+ autolink = <link>shared:<define>BOOST_$(name:U)_DYN_LINK=1 ;
name = boost_$(name) ;
- autolink = <link>shared:<define>$(name:U)_DYN_LINK=1 ;
lib $(name)
: $(sources)
: $(requirements) $(autolink)