X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=mingw64_deps%2Fpng%2Fbuild.sh;h=437d93b59ca65df717b26196a350e996b919e32e;hb=f62838982dde369296791d6813c2e252f06aa7c2;hp=8c115a191e487187ee619757c16bd65f24774983;hpb=1cfcc59d67ca53fac4ff633edb237466698b898b;p=novacoin.git diff --git a/mingw64_deps/png/build.sh b/mingw64_deps/png/build.sh index 8c115a1..437d93b 100755 --- a/mingw64_deps/png/build.sh +++ b/mingw64_deps/png/build.sh @@ -9,6 +9,16 @@ echo "Expected either aarch64 or x86_64." exit 1 fi +if [[ ! $(which ${CROSS}-w64-mingw32-clang) ]]; then +echo "llvm-mingw is not installed, please download it from https://github.com/mstorsjo/llvm-mingw/releases" +exit 1 +fi + +if [[ ! $(which make) ]]; then +echo "make is not installed, please install buld-essential package" +exit 1 +fi + # Make build directories cp -r ${ROOT}/zlib ${ROOT}/${CROSS}-w64-mingw32-build-zlib mkdir ${ROOT}/${CROSS}-w64-mingw32-build-libpng