Windows: Fix build.bash again.

630a8beda3 wasn't good.
This commit is contained in:
Lasse Collin 2010-10-08 21:42:37 +03:00
parent d3cd7abe85
commit 7b5db576fd
1 changed files with 4 additions and 3 deletions

View File

@ -99,9 +99,10 @@ buildit()
--disable-nls \ --disable-nls \
--disable-threads \ --disable-threads \
--build="$BUILD" \ --build="$BUILD" \
CFLAGS="$CFLAGS -O2" \ CFLAGS="$CFLAGS -O2"
LDFLAGS=-static make -C src/liblzma
make check 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/xz/xz.exe src/liblzma/.libs/liblzma.a "$DESTDIR"
cp -v src/liblzma/.libs/liblzma-*.dll "$DESTDIR/liblzma.dll" cp -v src/liblzma/.libs/liblzma-*.dll "$DESTDIR/liblzma.dll"