From 389396dbbf83f3df62a62601c5963d12fc1143f6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 21 Aug 2017 08:39:41 -0400 Subject: Support Windows builds with MSYS2 Replace the old msys, mingw-w64, ActiveState perl setup with MSYS2. This greatly simplifies the Windows build. This was facilitated by the need to incorporate JPEG. --- config-mingw | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 config-mingw (limited to 'config-mingw') diff --git a/config-mingw b/config-mingw new file mode 100755 index 00000000..81190938 --- /dev/null +++ b/config-mingw @@ -0,0 +1,9 @@ +#!/bin/sh +set -e +set -x +if echo $PATH | grep -q /mingw64; then + wordsize=64 +else + wordsize=32 +fi +./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=mingw ${1+"$@"} -- cgit v1.2.3-54-g00ecf