diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index b5c8beeff2..d72ac54c88 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -868,7 +868,7 @@ build_cross_GCC() { } build_LIBSTDCXX() { - if [ ! -e "${LIBSTDCXX_INCLUDE_PATH}" ]; then + if [ ! -d "${LIBSTDCXX_INCLUDE_PATH}" ]; then touch .failed printf "libstdcxx include path \"%s\" does not exist" "${LIBSTDCXX_INCLUDE_PATH}" return