summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 7aee2eb91c..68f0960f80 100755
--- a/build.sh
+++ b/build.sh
@@ -336,7 +336,13 @@ if [[ -n ${TARGETS:-""} ]]; then
done
else
source env.sh ""
- build
+ if [[ "$(uname -s)" == "Darwin" ]]; then
+ # Provide target for non-universal macOS builds to use the same output location as for
+ # universal builds
+ build "$ENV_TARGET"
+ else
+ build
+ fi
fi
################################################################################