commit b7c003d9bcb145fb4529d24bbf1d877fcd48e3fd
Author: Georg Baum <b...@lyx.org>
Date:   Sun May 8 13:46:35 2016 +0200

    Fix packaging for mingw crosscompilation
    
    The standard host triplet for mingw tools is is something like
    x86_64-w64-mingw32 on debian and something like x86-64-w64-mingw32.shared 
for
    mxe (http://mxe.cc). Detect windows packaging correctly for these build 
types.

diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4
index 84f6688..1f1fdb6 100644
--- a/config/lyxinclude.m4
+++ b/config/lyxinclude.m4
@@ -695,6 +695,7 @@ AC_ARG_WITH(packaging,
   case $host in
     *-apple-darwin*) lyx_use_packaging=macosx ;;
     *-pc-mingw*) lyx_use_packaging=windows ;;
+    *-mingw32*) lyx_use_packaging=windows ;;
     *haiku*) lyx_use_packaging=haiku ;;
     *) lyx_use_packaging=posix ;;
   esac])

Reply via email to