From: Richard W.M. Jones Date: Mon, 9 May 2011 15:30:30 +0000 (+0100) Subject: configure: Use Python platform-dependent site-packages. X-Git-Tag: 1.11.6~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=03a8e3fc8eba11abb47a9f6f627b8d49076b1049;p=libguestfs.git configure: Use Python platform-dependent site-packages. This updates commit c446e6e26e317e105870b0ab25fb082887e23bf6. --- diff --git a/configure.ac b/configure.ac index a746256..c8e5642 100644 --- a/configure.ac +++ b/configure.ac @@ -558,7 +558,7 @@ AS_IF([test "x$enable_python" != "xno"], AC_MSG_CHECKING([for Python site-packages path]) if test -z "$PYTHON_INSTALLDIR"; then PYTHON_INSTALLDIR=`$PYTHON -c "import distutils.sysconfig; \ - print (distutils.sysconfig.get_python_lib(0,0));"` + print (distutils.sysconfig.get_python_lib(1,0));"` fi AC_MSG_RESULT([$PYTHON_INSTALLDIR]) fi