diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-26 18:16:00 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-27 21:19:10 +0100 |
commit | 82e922188f1a4693982f1528c828aa8e8d87bd06 (patch) | |
tree | b18f93251659270736194e30f98c2cdbc6d175ea | |
parent | 66ee810f13bbc296fdea0812231aece66bb0a59e (diff) |
Make sure the tests are run after generating Windows binaries
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rwxr-xr-x | mkwinbins.sh | 16 |
1 files changed, 16 insertions, 0 deletions
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" |