changeset 4454:be387681d876

Fixed Eric's changes to allow building from the command line.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 May 2010 10:00:33 -0700
parents 37fc6a354dc7
children 6cf71111cf68
files configure.in src/file/SDL_rwops.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun May 09 09:53:57 2010 -0700
+++ b/configure.in	Sun May 09 10:00:33 2010 -0700
@@ -2652,6 +2652,10 @@
             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
             have_timers=yes
         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.
         EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
--- a/src/file/SDL_rwops.c	Sun May 09 09:53:57 2010 -0700
+++ b/src/file/SDL_rwops.c	Sun May 09 10:00:33 2010 -0700
@@ -29,7 +29,7 @@
 #include "SDL_rwops.h"
 
 #ifdef __APPLE__
-#include "SDL_rwopsbundlesupport.h"
+#include "cocoa/SDL_rwopsbundlesupport.h"
 #endif /* __APPLE__ */
 
 #ifdef __NDS__