From 7b9aa77c6bbbf9ca2c06e15e9b398f860c880efe Mon Sep 17 00:00:00 2001 From: jeremiah sypult Date: Thu, 18 Jul 2013 10:49:01 -0500 Subject: [PATCH] Fix make-macosx-app.sh to make bundle on non-Mac OS X platforms --- make-macosx-app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-macosx-app.sh b/make-macosx-app.sh index aa3aaae6..4ed57d61 100755 --- a/make-macosx-app.sh +++ b/make-macosx-app.sh @@ -116,7 +116,7 @@ HAS_LIPO=`command -v lipo` HAS_CP=`command -v cp` # if lipo is not available, we cannot make a universal binary, print a warning -if [ ! -x "${HAS_LIPO}" ]; then +if [ ! -x "${HAS_LIPO}" ] && [ "${CURRENT_ARCH}" == "" ]; then CURRENT_ARCH=`uname -m` if [ "${CURRENT_ARCH}" == "i386" ]; then CURRENT_ARCH="x86"; fi echo "$0 cannot make a universal binary, falling back to architecture ${CURRENT_ARCH}"