Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 71f0487533c0671d71249188f4e51063 > files > 3

dia-0.97.3-7.mga6.src.rpm

diff -up ./acinclude.m4.0002 ./acinclude.m4
--- ./acinclude.m4.0002	2014-09-30 17:45:22.533811157 +0300
+++ ./acinclude.m4	2014-09-30 17:46:36.481914712 +0300
@@ -205,7 +205,7 @@ if command -v python-config >/dev/null 2
   PYTHON_INCLUDES="$PYTHON_INCLUDES $(python-config --includes)"
 else
   py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
-  py_lib=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,1)" | cut -d '/' -f 3`
+  py_lib=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,1)" | cut -d '/' -f 3`
   py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
   PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
   if test "$py_prefix" != "$py_exec_prefix"; then