diff options
author | Dane Springmeyer <dane@mapbox.com> | 2014-05-30 10:26:30 -0700 |
---|---|---|
committer | Dane Springmeyer <dane@mapbox.com> | 2014-05-30 10:26:30 -0700 |
commit | e69ec277ec8715990fe10265fdf198cfa6efaafd (patch) | |
tree | 0e2361957b5a7434f161459d6808cfaca15aeb8c /setup-libraries.sh | |
parent | 0dd78c96e3cc0be300311ea82ede43730d47d54a (diff) | |
download | qtlocation-mapboxgl-e69ec277ec8715990fe10265fdf198cfa6efaafd.tar.gz |
[build] on osx accept either libtool or glibtool
Diffstat (limited to 'setup-libraries.sh')
-rwxr-xr-x | setup-libraries.sh | 4 |
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 |