Mac OS X port always links with IOKit framework in SDL 1.3.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 04 Apr 2007 10:41:00 +0000
changeset 2104a76e8b9f3d2e
parent 2103 4a010418f3b9
child 2105 12bcd4fd2606
Mac OS X port always links with IOKit framework in SDL 1.3.
configure.in
     1.1 --- a/configure.in	Wed Apr 04 10:39:16 2007 +0000
     1.2 +++ b/configure.in	Wed Apr 04 10:41:00 2007 +0000
     1.3 @@ -2347,7 +2347,6 @@
     1.4          if test x$enable_joystick = xyes; then
     1.5              AC_DEFINE(SDL_JOYSTICK_IOKIT)
     1.6              SOURCES="$SOURCES $srcdir/src/joystick/darwin/*.c"
     1.7 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
     1.8              have_joystick=yes
     1.9          fi
    1.10          # Set up files for the cdrom library
    1.11 @@ -2366,6 +2365,7 @@
    1.12          EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
    1.13          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
    1.14          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
    1.15 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
    1.16          # If either the audio or CD driver is used, add the AudioUnit framework
    1.17          if test x$enable_audio = xyes -o x$enable_cdrom = xyes; then
    1.18              EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio -framework,AudioToolbox -Wl,-framework,AudioUnit"