mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
Fixed TIGERHOST (it should apply to 10.5, too, or legacy binaries fail to
link).
This commit is contained in:
parent
71b196c0dc
commit
5d3f17e2f0
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,10 @@ if [ ! -f Makefile ]; then
|
||||||
echo "This script must be run from the ioquake3 build directory";
|
echo "This script must be run from the ioquake3 build directory";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TIGERHOST=`uname -r | grep ^8.`
|
# We only care if we're >= 10.4, not if we're specifically Tiger.
|
||||||
|
# "8" is the Darwin major kernel version.
|
||||||
|
#TIGERHOST=`uname -r | grep ^8.`
|
||||||
|
TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`
|
||||||
|
|
||||||
# we want to use the oldest available SDK for max compatiblity
|
# we want to use the oldest available SDK for max compatiblity
|
||||||
unset PPC_CLIENT_SDK
|
unset PPC_CLIENT_SDK
|
||||||
|
|
Loading…
Reference in a new issue