diff --git a/configure b/configure index 795d62eeaa..3231650a11 100755 --- a/configure +++ b/configure @@ -1330,7 +1330,7 @@ while [ "$#" -gt 0 ]; do ;; sdk) if [ "$BUILD_ON_MAC" = "yes" ]; then - DeviceVar set QMAKE_MAC_SDK "$VAL" + DeviceVar set !host_build:QMAKE_MAC_SDK "$VAL" else UNKNOWN_OPT=yes fi