diff options
author | Dane Springmeyer <dane@mapbox.com> | 2015-01-28 21:22:39 -0800 |
---|---|---|
committer | Dane Springmeyer <dane@mapbox.com> | 2015-01-28 21:22:39 -0800 |
commit | beac81f849aaf226118be00d8b6cdcd0f4e8f38a (patch) | |
tree | 61507de71d128040bcb195b436b3a25ce8d9e85e | |
parent | 4d4c534a69740873f554a9b6ef91cb7743eac4e4 (diff) | |
download | qtlocation-mapboxgl-beac81f849aaf226118be00d8b6cdcd0f4e8f38a.tar.gz |
ensure pkg-config is found since mason depends on it for now
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -57,6 +57,12 @@ PYTHON=`which python || abort 'Cannot find python'` >&2 ${PYTHON} --version >&2 echo -en "\033[0m"; +PKG_CONFIG=`which pkg-config || abort 'Cannot find pkg-config'` + +>&2 echo -en "\033[1m\033[32m* Using pkg-config " +>&2 ${PKG_CONFIG} --version +>&2 echo -en "\033[0m"; + function quote_flags { ${PYTHON} -c "import sys, re; print filter(None, re.split('(?<!-framework)\s+', ' '.join(sys.argv[1:])))" "$@" } |