diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-05-24 19:26:27 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-05-24 19:26:27 +0300 |
commit | 60bce7014bcad14823a6007b3441bb99f610a34e (patch) | |
tree | 55eaff4f96a351f2de756ac4cb677ecb6449668e | |
parent | 1f8de2be5ce39d878d4fd9e3d77ea55c7dacd619 (diff) | |
download | qtlocation-mapboxgl-60bce7014bcad14823a6007b3441bb99f610a34e.tar.gz |
[build] Restrict C++11 ABI check script for Linux
-rwxr-xr-x | scripts/check-cxx11abi.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/check-cxx11abi.sh b/scripts/check-cxx11abi.sh index ba64df1e79..512919371d 100755 --- a/scripts/check-cxx11abi.sh +++ b/scripts/check-cxx11abi.sh @@ -3,6 +3,11 @@ set -e set -o pipefail +if [ ! `uname -s` = 'Linux' ]; then + echo "" + exit 0 +fi + # check-cxx11abi.dat is a binary just so we can use the loader # to take care of finding the libstdc++ which can be tricky. LIBSTDCPP=$(ldd $(dirname $0)/check-cxx11abi.dat |grep libstdc++ |cut -d' ' -f3) |