mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +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`
|
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}"
|
||||||
|
|
Loading…
Reference in a new issue