Commit dc6629fa authored by Sam Lantinga's avatar Sam Lantinga

Fixed Eric's changes to allow building from the command line.

parent 4a2cf3b9
...@@ -2652,6 +2652,10 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau ...@@ -2652,6 +2652,10 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes have_timers=yes
fi fi
# Set up additional files for the file library
if test x$enable_file = xyes; then
SOURCES="$SOURCES $srcdir/src/file/cocoa/*.m"
fi
# The Mac OS X platform requires special setup. # The Mac OS X platform requires special setup.
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings" EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "SDL_rwops.h" #include "SDL_rwops.h"
#ifdef __APPLE__ #ifdef __APPLE__
#include "SDL_rwopsbundlesupport.h" #include "cocoa/SDL_rwopsbundlesupport.h"
#endif /* __APPLE__ */ #endif /* __APPLE__ */
#ifdef __NDS__ #ifdef __NDS__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment