mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-31 02:48:31 +00:00
Pass additional arguments from Windows config wrappers
This commit is contained in:
parent
e19eb579b2
commit
25687ddd71
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=32 --with-buildrules=mingw
|
||||
./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=32 --with-buildrules=mingw ${1+"$@"}
|
||||
# As of autoconf 2.69 and gcc 4.6, autoconf's configure fails to
|
||||
# recognize that defining _FILE_OFFSET_BITS works with mingw32.
|
||||
# Append to qpdf-config.h rather than passing CPPFLAGS on the
|
||||
|
@ -7,4 +7,5 @@
|
||||
RANLIB=x86_64-w64-mingw32-ranlib \
|
||||
DLLTOOL=x86_64-w64-mingw32-dlltool \
|
||||
STRIP=x86_64-w64-mingw32-strip \
|
||||
OBJDUMP=x86_64-w64-mingw32-objdump
|
||||
OBJDUMP=x86_64-w64-mingw32-objdump \
|
||||
${1+"$@"}
|
||||
|
@ -4,8 +4,9 @@ if ! test "$wordsize" = "32" -o "$wordsize" = "64"; then
|
||||
echo "Usage: $0 {32,64}"
|
||||
exit 2
|
||||
fi
|
||||
shift
|
||||
objdump=
|
||||
if test "$wordsize" = "64"; then
|
||||
objdump=OBJDUMP=x86_64-w64-mingw32-objdump
|
||||
fi
|
||||
CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=msvc $objdump
|
||||
CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=msvc $objdump ${1+"$@"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user