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

New commits:
commit 8620f8b51dcc2c9f50364d42e756fd8b11bdc1e3
Author: Luboš Luňák <l.lu...@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])
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to