graphviz/graphviz-2.49.1-python3-3.7.10.patch

12 lines
620 B
Diff
Raw Permalink Normal View History

--- graphviz-2.49.1/configure.ac.orig 2021-10-04 10:51:16.579411906 +0200
+++ graphviz-2.49.1/configure.ac 2021-10-04 10:51:26.473594056 +0200
@@ -1185,7 +1185,7 @@
use_python="No (python is too old)"
else
PYTHON_PREFIX=`$PYTHON -c "import sys; print(sys.prefix)"`
- PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION
+ PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python${PYTHON_VERSION}m
PYTHON_LIBS="-undefined dynamic_lookup"
PYTHON_INSTALL_DIR="`$PYTHON -c 'from distutils import sysconfig; print(sysconfig.get_python_lib(1,0))'`"
save_CPPFLAGS=$CPPFLAGS