]> granicus.if.org Git - xz/commitdiff
Windows: Make build.bash work without --enable-dynamic=no.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 6 Oct 2010 21:44:53 +0000 (00:44 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 6 Oct 2010 21:44:53 +0000 (00:44 +0300)
windows/build.bash

index 7119cf6c8b11a926dd8f29aab450d6618d1406a5..318a5224bb1e68562046485b7fb1d2d589d3a925 100644 (file)
@@ -98,9 +98,9 @@ buildit()
                --prefix= \
                --disable-nls \
                --disable-threads \
-               --enable-dynamic=no \
                --build="$BUILD" \
-               CFLAGS="$CFLAGS -O2"
+               CFLAGS="$CFLAGS -O2" \
+               LDFLAGS=-static
        make check
 
        cp -v src/xz/xz.exe src/liblzma/.libs/liblzma.a "$DESTDIR"