aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-09-06 12:03:41 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-09-06 12:05:44 +0300
commit4052f36053b931bad847a36aabf1a07d0034e297 (patch)
treebd758492844689462cc934e70c1c97328ea94808
parentUpdate THANKS. (diff)
downloadxz-4052f36053b931bad847a36aabf1a07d0034e297.tar.xz
Build: Fix "make check" on Windows.
-rw-r--r--tests/Makefile.am7
-rw-r--r--windows/build.bash2
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0469264a..03bf34c2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -43,8 +43,11 @@ TESTS = \
test_block_header \
test_index \
test_files.sh \
- test_compress.sh \
- test_scripts.sh
+ test_compress.sh
+
+if COND_SCRIPTS
+TESTS += test_scripts.sh
+endif
clean-local:
-rm -f compress_generated_*
diff --git a/windows/build.bash b/windows/build.bash
index faec83b3..c5cf2b31 100644
--- a/windows/build.bash
+++ b/windows/build.bash
@@ -77,6 +77,7 @@ buildit()
./configure \
--prefix= \
--disable-nls \
+ --disable-scripts \
--disable-threads \
--disable-shared \
--enable-small \
@@ -97,6 +98,7 @@ buildit()
./configure \
--prefix= \
--disable-nls \
+ --disable-scripts \
--disable-threads \
--build="$BUILD" \
CFLAGS="$CFLAGS -O2"