osrm-backend/test/cpp11_install.sh
Dane Springmeyer a34a885031 Squashed 'third_party/mason/' content from commit 1b3085e
git-subtree-dir: third_party/mason
git-subtree-split: 1b3085e812b08ef092ba43945e3ab9f802632280
2016-10-28 12:21:21 -07:00

22 lines
426 B
Bash
Executable File

#!/usr/bin/env bash
set -e -u
set -o pipefail
./mason install boost_libregex 1.57.0
./mason link boost_libregex 1.57.0
failure=0
if [[ ! -f mason_packages/.link/lib/libboost_regex.a ]]; then
echo "could not find expected lib/libboost_regex.a"
failure=1
fi
if [[ ! -L mason_packages/.link/lib/libboost_regex.a ]]; then
echo "lib/libboost_regex.a is not a symlink like expected"
failure=1
fi
exit $failure