build-cross-tools: Check for required tools
This matches what's checked in build-all.sh.
This commit is contained in:
1 parent
aa5216db99
commit
c915fc9212
1 file changed
+7
@@ -57,6 +57,13 @@ if [ -z "$CROSS_ARCH" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
for dep in git curl cmake; do
|
||||||
|
if ! command -v $dep >/dev/null; then
|
||||||
|
echo "$dep not installed. Please install it and retry" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
export PATH="$NATIVE/bin:$PATH"
|
export PATH="$NATIVE/bin:$PATH"
|
||||||
HOST=$CROSS_ARCH-w64-mingw32
|
HOST=$CROSS_ARCH-w64-mingw32
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user