mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Verify that the Xcode Command Line Tools are installed
Otherwise /usr/include does not exist on a clean-ish install Signed-off-by: Jeroen Massar <jeroen@massar.ch> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1bea93d6ee
commit
122088c891
1 changed files with 12 additions and 0 deletions
|
|
@ -28,6 +28,18 @@ if [[ ! -d "subsurface" ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Verify that the Xcode Command Line Tools are installed
|
||||||
|
if [ $PLATFORM = Darwin ] ; then
|
||||||
|
if [ ! -d /usr/include ] ; then
|
||||||
|
echo "Error: Xcode Command Line Tools are not installed"
|
||||||
|
echo ""
|
||||||
|
echo "Please run:"
|
||||||
|
echo " xcode-select --install"
|
||||||
|
echo "to install them (you'll have to agree to Apple's licensing terms etc), then run build.sh again"
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p install-root
|
mkdir -p install-root
|
||||||
INSTALL_ROOT=$SRC/install-root
|
INSTALL_ROOT=$SRC/install-root
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue