aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--windows/build.bash7
1 files changed, 4 insertions, 3 deletions
diff --git a/windows/build.bash b/windows/build.bash
index 318a5224..19eb6c08 100644
--- a/windows/build.bash
+++ b/windows/build.bash
@@ -99,9 +99,10 @@ buildit()
--disable-nls \
--disable-threads \
--build="$BUILD" \
- CFLAGS="$CFLAGS -O2" \
- LDFLAGS=-static
- make check
+ CFLAGS="$CFLAGS -O2"
+ make -C src/liblzma
+ make -C src/xz LDFLAGS=-static
+ make -C tests check
cp -v src/xz/xz.exe src/liblzma/.libs/liblzma.a "$DESTDIR"
cp -v src/liblzma/.libs/liblzma-*.dll "$DESTDIR/liblzma.dll"