From d4257e661edb24f7bdd5c3272aec666dac42213b Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 25 Jan 2015 10:47:05 -0600 Subject: [PATCH] tools/make-windows-release: build with -DLIBXML_STATIC This is needed to correctly link with xmlFree(). --- tools/make-windows-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0