From: Lasse Collin Date: Tue, 6 Sep 2011 09:03:41 +0000 (+0300) Subject: Build: Fix "make check" on Windows. X-Git-Tag: upstream/5.1.3~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd52cf150ecd51e3ab63a9cc1a3cff6a77500178;p=platform%2Fupstream%2Fxz.git Build: Fix "make check" on Windows. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 0469264..03bf34c 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 faec83b..c5cf2b3 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"