tools/make-windows-release: build with -DLIBXML_STATIC
[wimlib] / tools / make-windows-release
index a7adf21cf4c36fac36aa1cc6754fc1276738c41f..17769b06c532f7b4419238e3bdca3b67938b3a9b 100755 (executable)
@@ -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