File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed
Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change @@ -48,27 +48,8 @@ py3-version = [ find-py3-version ] ;
4848
4949project boost/python
5050 : source-location ../src
51- : requirements
52- -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
53- <tag>@$(__name__).tag
5451 ;
5552
56- rule tag ( name : type ? : property-set )
57- {
58- local result = $(name) ;
59- if $(type) in STATIC_LIB SHARED_LIB IMPORT_LIB
60- {
61- if $(name) = boost_python && $(PYTHON_ID)
62- {
63- result = $(result)-$(PYTHON_ID) ;
64- }
65- }
66-
67- # forward to the boost tagging rule
68- return [ indirect.call $(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
69- $(result) : $(type) : $(property-set) ] ;
70- }
71-
7253rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } }
7354rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } }
7455
@@ -132,6 +113,10 @@ rule lib_boost_python ( is-py3 ? )
132113
133114 <python-debugging>on:<define>BOOST_DEBUG_PYTHON
134115 [ cond $(is-py3) : <python>$(py3-version) ]
116+
117+ -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
118+ <tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag
119+
135120 : # default build
136121 <link>shared
137122 : # usage requirements
@@ -158,6 +143,10 @@ rule lib_boost_numpy ( is-py3 ? )
158143 <library>boost_python
159144 <python-debugging>on:<define>BOOST_DEBUG_PYTHON
160145 [ cond $(is-py3) : <python>$(py3-version) ]
146+
147+ -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
148+ <tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag
149+
161150 : # default build
162151 <link>shared
163152 : # usage requirements
You can’t perform that action at this time.
0 commit comments