configure: Use Python platform-dependent site-packages.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 12 May 2011 09:49:13 +0000 (10:49 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 12 May 2011 09:49:13 +0000 (10:49 +0100)
This updates commit b808c875a34e62fcdf360534f923d6030590ff44.

configure.ac

index 5805ddd..9528b3e 100644 (file)
@@ -248,7 +248,7 @@ if test "x$PYTHON" != "xno"; then
     AC_MSG_CHECKING([for Python site-packages path])
     if test -z "$PYTHON_SITE_PACKAGES"; then
         PYTHON_SITE_PACKAGES=`$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_SITE_PACKAGES])