diff --git a/setup-libraries.sh b/setup-libraries.sh index 710562bf1..f37a67cb0 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