r20582 - gnucash/trunk/packaging/win32 - Win32 build: Fixes for cross-compiling.

Christian Stimming cstim at code.gnucash.org
Fri Apr 22 08:52:44 EDT 2011


Author: cstim
Date: 2011-04-22 08:52:43 -0400 (Fri, 22 Apr 2011)
New Revision: 20582
Trac: http://svn.gnucash.org/trac/changeset/20582

Modified:
   gnucash/trunk/packaging/win32/install-impl.sh
Log:
Win32 build: Fixes for cross-compiling.

Modified: gnucash/trunk/packaging/win32/install-impl.sh
===================================================================
--- gnucash/trunk/packaging/win32/install-impl.sh	2011-04-22 12:27:47 UTC (rev 20581)
+++ gnucash/trunk/packaging/win32/install-impl.sh	2011-04-22 12:52:43 UTC (rev 20582)
@@ -174,9 +174,13 @@
         fi
         quiet test_for_mingw || die "mingw not installed correctly"
     fi
-    cp ${_MINGW_UDIR}/bin/libpthread-2.dll ${_MINGW_UDIR}/bin/pthreadGC2.dll
 
-    configure_msys "$_PID" "$_MINGW_WFSDIR"
+    if [ "$CROSS_COMPILE" != "yes" ]; then
+        # Some preparation steps, only for native (non-cross-compile)
+        cp ${_MINGW_UDIR}/bin/libpthread-2.dll ${_MINGW_UDIR}/bin/pthreadGC2.dll
+
+        configure_msys "$_PID" "$_MINGW_WFSDIR"
+    fi
 }
 
 function inst_mingwutils() {



More information about the gnucash-changes mailing list