2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

Don't build the static lib by default

[SVN r13906]
This commit is contained in:
Dave Abrahams
2002-05-15 14:52:10 +00:00
parent ae2b3bb60b
commit 1de87b920c

View File

@@ -88,13 +88,17 @@ local CPP_SOURCES =
init_function module_builder objects cross_module errors
;
lib boost_python_static : ../src/$(CPP_SOURCES).cpp
# requirements
: $(BOOST_PYTHON_INCLUDES)
<shared-linkable>true
<define>BOOST_PYTHON_STATIC_LIB=1
# 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 ]
;
;
}
dll boost_python
# $(SUFDLL[1])