Build sanity checks
[novacoin.git] / mingw64_deps / png / build.sh
index 8cbf0d9..437d93b 100755 (executable)
@@ -14,6 +14,11 @@ echo "llvm-mingw is not installed, please download it from https://github.com/ms
 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