[Libreoffice-commits] .: configure.ac

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 2 04:09:31 PST 2013


 configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8620f8b51dcc2c9f50364d42e756fd8b11bdc1e3
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Wed Jan 2 13:09:00 2013 +0100

    fix use of MINGW_SYSROOT
    
    This got broken in a084ea60680372efb7998f7369c9fc99eb85c50a.

diff --git a/configure.ac b/configure.ac
index 68723f4..1e6327a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7529,9 +7529,9 @@ if test $enable_python = system; then
         dnl How to find out the cross-compilation Python installation path?
         dnl Let's hardocode what we know for different distributions for now...
         for python_version in 2.6; do
-            if test -f ${MINGW_SYSROOT}/include/python${python_version}/Python.h; then
-                PYTHON_CFLAGS="-I${MINGW_SYSROOT}/include/python$python_version"
-                PYTHON_LIBS="-L${MINGW_SYSROOT}lib -lpython$python_version $python_libs"
+            if test -f ${MINGW_SYSROOT}/mingw/include/python${python_version}/Python.h; then
+                PYTHON_CFLAGS="-I${MINGW_SYSROOT}/mingw/include/python$python_version"
+                PYTHON_LIBS="-L${MINGW_SYSROOT}/mingw/lib -lpython$python_version $python_libs"
                 AC_MSG_CHECKING([for python.exe])
                 AS_IF([test -f "$MINGW_SYSROOT/mingw/bin/python.exe"],
                       [AC_MSG_RESULT([$MINGW_SYSROOT/mingw/bin/python.exe])


More information about the Libreoffice-commits mailing list