mirror of https://github.com/ioquake/ioq3.git
Fix make-macosx-app.sh to make bundle on non-Mac OS X platforms
This commit is contained in:
parent
b7f5971ab8
commit
7b9aa77c6b
|
@ -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 New Issue