mirror of
https://github.com/boostorg/python.git
synced 2026-01-20 16:52:15 +00:00
Don't build libboost_python_static unless the user requests it by name
[SVN r13916]
This commit is contained in:
@@ -88,17 +88,14 @@ local CPP_SOURCES =
|
||||
init_function module_builder objects cross_module errors
|
||||
;
|
||||
|
||||
# Only build the static library if a user really insists on it!
|
||||
if $(BOOST_PYTHON_STATIC_LIB)
|
||||
{
|
||||
lib boost_python_static : ../src/$(CPP_SOURCES).cpp
|
||||
# requirements
|
||||
: $(BOOST_PYTHON_INCLUDES)
|
||||
<shared-linkable>true
|
||||
<define>BOOST_PYTHON_STATIC_LIB=1
|
||||
[ difference $(PYTHON_PROPERTIES) : <define>BOOST_PYTHON_DYNAMIC_LIB ]
|
||||
;
|
||||
}
|
||||
lib boost_python_static : ../src/$(CPP_SOURCES).cpp
|
||||
# requirements
|
||||
: $(BOOST_PYTHON_INCLUDES)
|
||||
<shared-linkable>true
|
||||
<define>BOOST_PYTHON_STATIC_LIB=1
|
||||
[ difference $(PYTHON_PROPERTIES) : <define>BOOST_PYTHON_DYNAMIC_LIB ]
|
||||
: <suppress>true # don't build this unless the user asks for it by name
|
||||
;
|
||||
|
||||
dll boost_python
|
||||
# $(SUFDLL[1])
|
||||
|
||||
Reference in New Issue
Block a user