configure.in
changeset 10347 221061d874e9
parent 10305 a289f7ea213b
child 10348 58e8745fb4e1
     1.1 --- a/configure.in	Thu Sep 15 19:59:57 2016 -0300
     1.2 +++ b/configure.in	Thu Sep 15 08:29:20 2016 -0700
     1.3 @@ -3242,7 +3242,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 @@ -3315,9 +3315,10 @@
    1.13          # Set up files for the audio library
    1.14          if test x$enable_audio = xyes; then
    1.15              AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO, 1, [ ])
    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