Commit e88b36a6 authored by Philipp  Trunschke's avatar Philipp Trunschke
Browse files

add pybind11 include path flag for python2

parent d0c8616f
Pipeline #1430 failed with stages
in 12 minutes and 35 seconds
......@@ -220,7 +220,7 @@ python3: build/python3/
build/python2/ $(MINIMAL_DEPS) $(PYTHON_SOURCES) src/xerus/python/misc.h build/
@:$(call check_defined, PYTHON2_CONFIG BOOST_PYTHON2, include and link paths)
mkdir -p $(dir $@)
$(CXX) -shared -fPIC -Wl,-soname, $(PYTHON2_CONFIG) $(PYTHON_FLAGS) -I include $(PYTHON_SOURCES) -L ./build/ -Wl,--as-needed -lxerus $(BOOST_PYTHON2) -o $@
$(CXX) -shared -fPIC -Wl,-soname, $(PYTHON2_CONFIG) $(PYTHON_FLAGS) -I include -I 3rdParty/pybind11/include $(PYTHON_SOURCES) -L ./build/ -Wl,--as-needed -lxerus $(BOOST_PYTHON2) -o $@
build/python3/ $(MINIMAL_DEPS) $(PYTHON_SOURCES) src/xerus/python/misc.h build/
@:$(call check_defined, PYTHON3_CONFIG BOOST_PYTHON3, include and link paths)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment