aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-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"