mac os x amd64 detection; missing C files added

This commit is contained in:
Araq 2010-09-16 01:08:22 +02:00
commit 9cf4cf0299
3 changed files with 22 additions and 2 deletions

View file

@ -33,7 +33,7 @@ case $uos in
*darwin* )
myos="macosx"
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
if [ `sysctl hw |grep 64bit` = "hw.cpu64bit_capable: 1" ] ; then
if [ "`sysctl hw |grep 64bit`" = "hw.cpu64bit_capable: 1" ] ; then
ucpu="amd64"
fi
;;