configure
changeset 10347 221061d874e9
parent 10305 a289f7ea213b
child 10348 58e8745fb4e1
     1.1 --- a/configure	Thu Sep 15 19:59:57 2016 -0300
     1.2 +++ b/configure	Thu Sep 15 08:29:20 2016 -0700
     1.3 @@ -23453,7 +23453,7 @@
     1.4  
     1.5          # Set up files for the audio library
     1.6          if test x$enable_audio = xyes; then
     1.7 -            SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
     1.8 +            SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.m"
     1.9              SUMMARY_audio="${SUMMARY_audio} coreaudio"
    1.10              have_audio=yes
    1.11          fi
    1.12 @@ -23528,9 +23528,10 @@
    1.13  
    1.14  $as_echo "#define SDL_AUDIO_DRIVER_COREAUDIO 1" >>confdefs.h
    1.15  
    1.16 -            SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.c"
    1.17 +            SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.m"
    1.18              SUMMARY_audio="${SUMMARY_audio} coreaudio"
    1.19              have_audio=yes
    1.20 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
    1.21          fi
    1.22          # Set up files for the joystick library
    1.23          if test x$enable_joystick = xyes; then