diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-24 12:36:39 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-24 12:36:39 +0100 |
commit | ad3d0728827d28b4d991730adf4abd2dd5bdda4a (patch) | |
tree | 2f37bf36fcb47580e93baee8e36f36d9100a1a6b /mkwinbins.sh | |
parent | 0f89517d418ff907fd9cf51f5313974812ceb305 (diff) |
Fix cross compilation settings for lz4
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkwinbins.sh')
-rwxr-xr-x | mkwinbins.sh | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/mkwinbins.sh b/mkwinbins.sh index b430496..7ea3db4 100755 --- a/mkwinbins.sh +++ b/mkwinbins.sh @@ -108,18 +108,27 @@ PKG_HASH="658ba6191fa44c92280d4aa2c271b0f4fbc0e34d249578dd05e50e76d0e5efcc" download pushd "$PKG_DIR" -make -j BUILD_STATIC="yes" CC="${W32_PREFIX}-gcc" \ - DLLTOOL="${W32_PREFIX}-dlltool" OS="Windows_NT" lib-release -make PREFIX="$W32_DIR" -C "lib" install +make -j BUILD_STATIC="no" BUILD_SHARED="yes" CC="${W32_PREFIX}-gcc" \ + DLLTOOL="${W32_PREFIX}-dlltool" WINDRES="${W32_PREFIX}-windres" \ + OS="Windows_NT" WINBASED="yes" PREFIX="$W32_DIR" \ + lib-release +make BUILD_STATIC="no" BUILD_SHARED="yes" CC="${W32_PREFIX}-gcc" \ + DLLTOOL="${W32_PREFIX}-dlltool" WINDRES="${W32_PREFIX}-windres" \ + OS="Windows_NT" WINBASED="yes" PREFIX="$W32_DIR" \ + -C "lib" install make clean -make -j BUILD_STATIC="yes" CC="${W64_PREFIX}-gcc" \ - DLLTOOL="${W64_PREFIX}-dlltool" OS="Windows_NT" lib-release -make PREFIX="$W64_DIR" -C "lib" install +make -j BUILD_STATIC="no" BUILD_SHARED="yes" CC="${W64_PREFIX}-gcc" \ + DLLTOOL="${W64_PREFIX}-dlltool" WINDRES="${W64_PREFIX}-windres" \ + OS="Windows_NT" WINBASED="yes" PREFIX="$W64_DIR" \ + lib-release +make BUILD_STATIC="no" BUILD_SHARED="yes" CC="${W64_PREFIX}-gcc" \ + DLLTOOL="${W64_PREFIX}-dlltool" WINDRES="${W64_PREFIX}-windres" \ + OS="Windows_NT" WINBASED="yes" PREFIX="$W64_DIR" \ + -C "lib" install popd - ################################## get zstd ################################## PKG_DIR="zstd-v1.4.4-win32" |