X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=tools%2Fmake-windows-release;h=1b80d31529eb72fda5ea713025ff17f2747b7fa4;hb=4fd6ac2eb3d871d0beb949d88c144e0ca64ea0cb;hp=fe300691f9ade454130a922fa628d17953908eed;hpb=41065b5e5a884313d438797435a922b20dac9bce;p=wimlib diff --git a/tools/make-windows-release b/tools/make-windows-release index fe300691..1b80d315 100755 --- a/tools/make-windows-release +++ b/tools/make-windows-release @@ -46,14 +46,20 @@ fi if ! grep -q "./configure --host=${ARCH}-w64-mingw32" config.log || \ ! grep -q "configure: exit 0" config.log then + extra_args= + if [ $ARCH = x86_64 ]; then + extra_args="--enable-ssse3-sha1" + fi # Note: putting -static-libgcc in CC is a workaround for libtool # stripping it: # http://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags ./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"\ - LDFLAGS="-L$SYSROOT/lib" + CPPFLAGS="-I$SYSROOT/include" \ + LDFLAGS="-L$SYSROOT/lib" \ + PKG_CONFIG_PATH="$SYSROOT/lib/pkgconfig" \ + --without-libcrypto \ + $extra_args $MAKE clean fi $MAKE @@ -106,7 +112,7 @@ for fil in ./doc/man1/wimlib-imagex-*.1; do sed 's/$/\r/g' > ${DESTDIR}/wim${cmd}.cmd <<- EOF @echo off - %~dp0\\wimlib-imagex $cmd %* + "%~dp0\\wimlib-imagex" $cmd %* EOF chmod +x ${DESTDIR}/wim${cmd}.cmd done