mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 03:18:59 +00:00
389396dbbf
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.
10 lines
274 B
Bash
Executable File
10 lines
274 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
set -x
|
|
if echo $PATH | grep -q /mingw64; then
|
|
wordsize=64
|
|
else
|
|
wordsize=32
|
|
fi
|
|
CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=msvc ${1+"$@"}
|