diff options
author | Peter Dimov <pdimov@gmail.com> | 2019-05-26 18:49:12 +0300 |
---|---|---|
committer | Peter Dimov <pdimov@gmail.com> | 2019-05-26 18:49:12 +0300 |
commit | d0586e88122f41cd5ac9666db70c37d6f0fc7480 (patch) | |
tree | 340b20451efea8b5b9e3ddfd7eb86e0da344af84 | |
parent | 68df5aa819758cc0fc9b081f4d897123a07cd017 (diff) | |
download | boost-feature/bcp-namespace.tar.gz |
Fix `bcp --namespace` issuesfeature/bcp-namespace
-rw-r--r-- | Jamroot | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |