CONFIGURE: Always link against Cocoa on OS X, since SDL2 doesn't seem to pick it up for us.

This commit is contained in:
Einar Johan Trøan Sømåen 2015-03-06 02:21:46 +01:00
parent 6cb0a4c1b0
commit 2d858d817f

2
configure vendored
View File

@ -2195,6 +2195,8 @@ case $_host_os in
DEFINES="$DEFINES -DMACOSX"
LIBS="$LIBS -framework AudioUnit -framework AudioToolbox -framework Carbon -framework CoreMIDI"
# SDL2 doesn't seem to add Cocoa for us.
LIBS="$LIBS -framework Cocoa"
add_line_to_config_mk 'MACOSX = 1'
# Now we may have MacPorts or Fink installed