Commit 0243a8bf authored by Clément Démoulins's avatar Clément Démoulins

Fix detection of boost python 3.8

parent f10ba549
Pipeline #16007 failed with stage
in 9 minutes and 17 seconds
......@@ -1204,6 +1204,11 @@ BOOST_DEFUN([Python],
_BOOST_PYTHON_CONFIG([LDFLAGS], [ldflags])
_BOOST_PYTHON_CONFIG([LIBS], [libs])
m4_pattern_allow([^BOOST_PYTHON_MODULE$])dnl
set -x
case `$PYTHON --version` in
"Python 3.8"*) LDFLAGS="-lpython3.8" ;;
esac
set +x
BOOST_FIND_LIBS([python], [python python3], [$1],
[boost/python.hpp],
[], [BOOST_PYTHON_MODULE(empty) {}], [], [$2])
......
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