Build sanity checks
[novacoin.git] / mingw64_deps / db / build.sh
index 79b426d..a59c4a7 100755 (executable)
@@ -10,6 +10,11 @@ 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 [ "${CROSS}" == "aarch64" ]; then
 MUTEX="ARM64/gcc-assembly"
 fi