Fix make-macosx-app.sh to make bundle on non-Mac OS X platforms

This commit is contained in:
jeremiah sypult 2013-07-18 10:49:01 -05:00
parent b7f5971ab8
commit 7b9aa77c6b

View file

@ -116,7 +116,7 @@ HAS_LIPO=`command -v lipo`
HAS_CP=`command -v cp` HAS_CP=`command -v cp`
# if lipo is not available, we cannot make a universal binary, print a warning # 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` CURRENT_ARCH=`uname -m`
if [ "${CURRENT_ARCH}" == "i386" ]; then CURRENT_ARCH="x86"; fi if [ "${CURRENT_ARCH}" == "i386" ]; then CURRENT_ARCH="x86"; fi
echo "$0 cannot make a universal binary, falling back to architecture ${CURRENT_ARCH}" echo "$0 cannot make a universal binary, falling back to architecture ${CURRENT_ARCH}"