From 82e922188f1a4693982f1528c828aa8e8d87bd06 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 26 Dec 2019 18:16:00 +0100 Subject: Make sure the tests are run after generating Windows binaries Signed-off-by: David Oberhollenzer --- mkwinbins.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/mkwinbins.sh b/mkwinbins.sh index a4ccb1f..f372b58 100755 --- a/mkwinbins.sh +++ b/mkwinbins.sh @@ -183,9 +183,17 @@ export PKG_CONFIG_LIBDIR="$W32_DIR/lib/pkgconfig" export PKG_CONFIG_PATH="$W32_DIR/lib/pkgconfig" ./autogen.sh +./configure CFLAGS="-O2" LZO_CFLAGS="-I$W32_DIR/include" \ + LZO_LIBS="-L$W32_DIR/lib -llzo2" \ + --prefix="$W32_DIR" --host="$W32_PREFIX" +cp "$W32_DIR/bin/"*.dll . +make -j check +rm *.dll + ./configure CFLAGS="-O2 -DNDEBUG" LZO_CFLAGS="-I$W32_DIR/include" \ LZO_LIBS="-L$W32_DIR/lib -llzo2" \ --prefix="$W32_DIR" --host="$W32_PREFIX" +make clean make -j make install-strip @@ -195,6 +203,14 @@ export PKG_CONFIG_SYSROOT_DIR="$W64_DIR" export PKG_CONFIG_LIBDIR="$W64_DIR/lib/pkgconfig" export PKG_CONFIG_PATH="$W64_DIR/lib/pkgconfig" +./configure CFLAGS="-O2" LZO_CFLAGS="-I$W64_DIR/include" \ + LZO_LIBS="-L$W64_DIR/lib -llzo2" \ + --prefix="$W64_DIR" --host="$W64_PREFIX" +make clean +cp "$W64_DIR/bin/"*.dll . +make -j check +rm *.dll + ./configure CFLAGS="-O2 -DNDEBUG" LZO_CFLAGS="-I$W64_DIR/include" \ LZO_LIBS="-L$W64_DIR/lib -llzo2" \ --prefix="$W64_DIR" --host="$W64_PREFIX" -- cgit v1.2.3