aboutsummaryrefslogtreecommitdiff
path: root/windows/build.bash
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-07 00:44:53 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-07 00:44:53 +0300
commit630a8beda34af0ac153c8051b1bf01230558e422 (patch)
tree73051f9e044d4d7f3b0befd678a3a5bbd6f37989 /windows/build.bash
parentBuild: Remove the static/dynamic tricks. (diff)
downloadxz-630a8beda34af0ac153c8051b1bf01230558e422.tar.xz
Windows: Make build.bash work without --enable-dynamic=no.
Diffstat (limited to '')
-rw-r--r--windows/build.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/build.bash b/windows/build.bash
index 7119cf6c..318a5224 100644
--- a/windows/build.bash
+++ b/windows/build.bash
@@ -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"