]> git.lyx.org Git - features.git/commitdiff
Fix packaging for mingw crosscompilation
authorGeorg Baum <baum@lyx.org>
Sun, 8 May 2016 11:46:35 +0000 (13:46 +0200)
committerRichard Heck <rgheck@lyx.org>
Sun, 29 May 2016 21:55:44 +0000 (17:55 -0400)
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.

config/lyxinclude.m4

index 84f66880a27ccdce601a79ac8a8df8ebda4bb8bc..1f1fdb67e78ab187f73f86c49f3432e67e8a533b 100644 (file)
@@ -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])