mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 05:52:03 +00:00
Fix make-macosx-app.sh to make bundle on non-Mac OS X platforms
This commit is contained in:
parent
b7f5971ab8
commit
7b9aa77c6b
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue