519230f9de
Resovles: rhbz#2158703
14 lines
568 B
Diff
14 lines
568 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 49e027f..542c23a 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1141,7 +1141,7 @@ else
|
|
use_python3="No (python-$PYTHON3_VERSION.pc not found)"
|
|
fi
|
|
fi
|
|
- PYTHON3_INSTALL_DIR="`$PYTHON3 -c 'from distutils import sysconfig; print(sysconfig.get_python_lib(1,0))'`"
|
|
+ PYTHON3_INSTALL_DIR="`$PYTHON3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))'`"
|
|
save_CPPFLAGS=$CPPFLAGS
|
|
CPPFLAGS="$CPPFLAGS $PYTHON3_INCLUDES"
|
|
AC_CHECK_HEADER(Python.h,,[
|