ensure pkg-config is installed before going further. closes #43
This commit is contained in:
parent
0062353c58
commit
20f932be92
1 changed files with 6 additions and 2 deletions
|
@ -48,15 +48,19 @@ export HOSTPYTHON="$TMPROOT/Python-$IOS_PYTHON_VERSION/hostpython"
|
|||
for fn in cython-2.7 cython; do
|
||||
export CYTHON=$(which $fn)
|
||||
if [ "X$CYTHON" != "X" ]; then
|
||||
echo "Cython found at $CYTHON"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ "X$CYTHON" == "X" ]; then
|
||||
print "Cython is not installed, aborting."
|
||||
echo "Cython is not installed, aborting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check basic tools
|
||||
if [ "X$(which pkg-config)" == "X" ]; then
|
||||
echo "pkg-config is not installed, aborting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# flags for arm compilation
|
||||
|
|
Loading…
Reference in a new issue