Added -lpython$PYTHON_VERSION to the LIBS line. The way things were,

the boost test would always fail.
This commit is contained in:
John Wiegley 2005-02-15 03:30:35 +00:00
parent 1c0a061675
commit 7a38b49048

View file

@ -178,7 +178,7 @@ if [test x$python = xtrue ]; then
[if boost_python is available],
[boost_python_cpplib_avail],
[boost_python_save_libs=$LIBS
LIBS="-lboost_python $LIBS"
LIBS="-lboost_python -lpython$PYTHON_VERSION $LIBS"
AC_LANG_PUSH(C++)
AC_TRY_LINK(
[#include <boost/python.hpp>