Fixed bug #206, fatbuild.sh works flawlessly on Intel Macs

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401679
This commit is contained in:
Sam Lantinga 2006-04-28 05:38:06 +00:00
parent 12d7c190c2
commit 4422ede0bd
2 changed files with 12 additions and 9 deletions

View file

@ -52,6 +52,11 @@ fi
dnl Set up the compiler and linker flags
INCLUDE="-I$srcdir/include"
if test x$srcdir != x.; then
# Remove SDL_config.h from the source directory, since it's the
# default one, and we want to include the one that we generate.
if test -f $srcdir/include/SDL_config.h; then
rm $srcdir/include/SDL_config.h
fi
INCLUDE="-Iinclude $INCLUDE"
fi
case "$host" in
@ -2332,6 +2337,7 @@ case "$host" in
# use here or in sdl-config. Hence we reset it.
EXTRA_LDFLAGS=""
CheckVisibilityHidden
CheckDummyVideo
CheckDiskAudio
CheckDummyAudio