Skip to content

Commit

Permalink
Fix make-macosx-app.sh to make bundle on non-Mac OS X platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiah-sypult committed Jul 18, 2013
1 parent b7f5971 commit 7b9aa77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-macosx-app.sh
Expand Up @@ -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}"
Expand Down

0 comments on commit 7b9aa77

Please sign in to comment.