diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-08-21 14:39:41 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-08-21 23:44:22 +0200 |
commit | 389396dbbf83f3df62a62601c5963d12fc1143f6 (patch) | |
tree | 552a671d4f917af2123bc977a9c026962d36969c /config-mingw | |
parent | af9e36b5070ebd5f6f747348170791d50a765403 (diff) | |
download | qpdf-389396dbbf83f3df62a62601c5963d12fc1143f6.tar.zst |
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.
Diffstat (limited to 'config-mingw')
-rwxr-xr-x | config-mingw | 9 |
1 files changed, 9 insertions, 0 deletions
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+"$@"} |