From ed5d93d3db9e8acfcbf922c6737420635f0e5971 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Fri, 16 Aug 2024 11:11:22 +0300 Subject: [PATCH] Require ninja to be installed and in path to build the libs Make causes issues with building the libs, so ninja must be used --- build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 68a95e643..ca412b7ff 100755 --- a/build.sh +++ b/build.sh @@ -1,12 +1,17 @@ #!/bin/bash if ! [ -x "$(command -v python3)" ]; then - echo "ERROR: python is not installed! Please install python first." + echo "ERROR: python is not installed or not in PATH! Please install python first." exit 1 fi if ! [ -x "$(command -v git)" ]; then - echo "ERROR: git is not installed! Please install git first." + echo "ERROR: git is not installed or not in PATH! Please install git first." + exit 1 +fi + +if ! [ -x "$(command -v ninja)" ]; then + echo "ERROR: ninja is not installed or not in PATH! Please install ninja first." exit 1 fi