diff --git a/qb/qb.comp.sh b/qb/qb.comp.sh index d94112aa99..7aed008e39 100644 --- a/qb/qb.comp.sh +++ b/qb/qb.comp.sh @@ -14,7 +14,7 @@ if [ -n "$CROSS_COMPILE" ]; then esac fi -if [ -z "$OS" ]; then +if [ -z "$CROSS_COMPILE" ] || [ -z "$OS" ]; then case "$(uname)" in 'Linux') OS='Linux';; *'BSD') OS='BSD';;