summaryrefslogtreecommitdiff
path: root/setup-libraries.sh
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-05-30 10:26:30 -0700
committerDane Springmeyer <dane@mapbox.com>2014-05-30 10:26:30 -0700
commite69ec277ec8715990fe10265fdf198cfa6efaafd (patch)
tree0e2361957b5a7434f161459d6808cfaca15aeb8c /setup-libraries.sh
parent0dd78c96e3cc0be300311ea82ede43730d47d54a (diff)
downloadqtlocation-mapboxgl-e69ec277ec8715990fe10265fdf198cfa6efaafd.tar.gz
[build] on osx accept either libtool or glibtool
Diffstat (limited to 'setup-libraries.sh')
-rwxr-xr-xsetup-libraries.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup-libraries.sh b/setup-libraries.sh
index 710562bf13..f37a67cb0e 100755
--- a/setup-libraries.sh
+++ b/setup-libraries.sh
@@ -19,7 +19,9 @@ ensure_dep pkg-config
ensure_dep node
if [ ${UNAME} = 'Darwin' ]; then
ensure_dep makedepend
- ensure_dep glibtool
+ if [[ ! `which libtool` ]] && [[ ! `which glibtool` ]]; then
+ MISSING_DEPS="$MISSING_DEPS libtool"
+ fi
elif [ ${UNAME} = 'Linux' ]; then
ensure_dep libtool
ensure_dep gccmakedep