From 2d858d817fb9e11f084d176211328e72dc9fd4df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Einar=20Johan=20Tr=C3=B8an=20S=C3=B8ma=CC=8Aen?= Date: Fri, 6 Mar 2015 02:21:46 +0100 Subject: [PATCH] CONFIGURE: Always link against Cocoa on OS X, since SDL2 doesn't seem to pick it up for us. --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 3835342395a..78f147f4b28 100755 --- a/configure +++ b/configure @@ -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