configure
changeset 10348 58e8745fb4e1
parent 10347 221061d874e9
child 10349 4b978b7998aa
     1.1 --- a/configure	Thu Sep 15 08:29:20 2016 -0700
     1.2 +++ b/configure	Thu Sep 15 08:46:14 2016 -0700
     1.3 @@ -23529,9 +23529,9 @@
     1.4  $as_echo "#define SDL_AUDIO_DRIVER_COREAUDIO 1" >>confdefs.h
     1.5  
     1.6              SOURCES="$SOURCES $srcdir/src/audio/coreaudio/*.m"
     1.7 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
     1.8              SUMMARY_audio="${SUMMARY_audio} coreaudio"
     1.9              have_audio=yes
    1.10 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
    1.11          fi
    1.12          # Set up files for the joystick library
    1.13          if test x$enable_joystick = xyes; then
    1.14 @@ -23547,8 +23547,8 @@
    1.15  $as_echo "#define SDL_HAPTIC_IOKIT 1" >>confdefs.h
    1.16  
    1.17              SOURCES="$SOURCES $srcdir/src/haptic/darwin/*.c"
    1.18 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
    1.19              have_haptic=yes
    1.20 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,ForceFeedback"
    1.21          fi
    1.22          # Set up files for the power library
    1.23          if test x$enable_power = xyes; then
    1.24 @@ -23585,10 +23585,6 @@
    1.25          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
    1.26          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
    1.27          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
    1.28 -        # If audio is used, add the AudioUnit framework
    1.29 -        if test x$enable_audio = xyes; then
    1.30 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit"
    1.31 -        fi
    1.32          ;;
    1.33      *-nacl|*-pnacl)
    1.34          ARCH=nacl