From: Eric Biggers Date: Sun, 25 Jan 2015 16:47:05 +0000 (-0600) Subject: tools/make-windows-release: build with -DLIBXML_STATIC X-Git-Tag: v1.8.0~53 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=d4257e661edb24f7bdd5c3272aec666dac42213b;ds=sidebyside tools/make-windows-release: build with -DLIBXML_STATIC This is needed to correctly link with xmlFree(). --- diff --git a/tools/make-windows-release b/tools/make-windows-release index a7adf21c..17769b06 100755 --- a/tools/make-windows-release +++ b/tools/make-windows-release @@ -56,7 +56,7 @@ then ./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 -I$SYSROOT/include/libxml2 -DLIBXML_STATIC"\ LDFLAGS="-L$SYSROOT/lib" \ $extra_args $MAKE clean