From 342bc9555174a1999d34310cb6a2b9b9b746602d Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Sun, 22 Mar 2020 19:58:31 +0100 Subject: [PATCH] Call $PYTHON_CONFIG instead of pyhon-config. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6946a1aa6..4c089555a 100644 --- a/configure.ac +++ b/configure.ac @@ -1218,8 +1218,8 @@ if test "$status_python" = yes; then esac # See https://docs.python.org/dev/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build - PYTHON_LIBS=`python-config --libs --embed 2>/dev/null` || \ - PYTHON_LIBS=`python-config --libs` + PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || \ + PYTHON_LIBS=`$PYTHON_CONFIG --libs` PYTHON_INCLUDES=`$PYTHON_CONFIG --includes` else status_python=no -- 2.26.0.rc2