./configure --host=${ARCH}-w64-mingw32 --disable-static \
CC="${ARCH}-w64-mingw32-gcc -static-libgcc" \
CFLAGS="-O2 -Wall" \
- CPPFLAGS="-I$SYSROOT/include -I$SYSROOT/include/libxml2"\
+ CPPFLAGS="-I$SYSROOT/include" \
LDFLAGS="-L$SYSROOT/lib" \
+ PKG_CONFIG_PATH="$SYSROOT/lib/pkgconfig" \
+ --without-libcrypto \
$extra_args
$MAKE clean
fi