gentoo/dev-python/pyilmbase/files/pyilmbase-2.2.0-configure-boost_python.patch
Bernd Waibel 353d61e3e9
dev-python/pyilmbase: new package.
Closes: https://bugs.gentoo.org/634968
Closes: https://github.com/gentoo/gentoo/pull/6083
Package-Manager: Portage-2.3.14, Repoman-2.3.5
2017-12-16 13:59:27 +01:00

23 lines
782 B
Diff

diff --git a/configure.ac b/configure.ac
index a4d6027..edfb49f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@ LIBS="$LIBS -lpython$PYTHON_VERSION"
BOOST_PYTHON_CXXFLAGS=""
BOOST_PYTHON_LDFLAGS=""
BOOST_PYTHON_LIBS=""
-BOOST_PYTHON_LIBNAME="boost_python"
+BOOST_PYTHON_LIBNAME="boost_python-$PYTHON_VERSION"
AC_ARG_WITH(
[boost-include-dir],
@@ -90,7 +90,7 @@ AC_ARG_WITH(
AC_ARG_WITH(
[boost-python-libname],
- [AS_HELP_STRING([--with-boost-python-libname],["boost::python library name (default: boost_python)"])],
+ [AS_HELP_STRING([--with-boost-python-libname],["boost::python library name (default: boost_python-$PYTHON_VERSION)"])],
[BOOST_PYTHON_LIBNAME="$withval"])
CXXFLAGS="$CXXFLAGS $BOOST_PYTHON_CXXFLAGS -I$PYTHON_INC_DIR"