diff --git a/scripts/check-cxx11abi.sh b/scripts/check-cxx11abi.sh index ba64df1e7..512919371 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)