From 8225b3ad81aae88eda0fa0737c832ada468e9bdf Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 6 Sep 2013 23:56:56 -0700 Subject: [PATCH] Fixed bug 1754 - Link SDL_image HG to Cocoa We don't need all of Cocoa, we just need the Objective C runtime. --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 996820a7..3ecdd4ab 100755 --- a/configure +++ b/configure @@ -12023,7 +12023,7 @@ else fi if test x$enable_imageio = xyes; then - IMG_LIBS="-Wl,-framework,ApplicationServices $IMG_LIBS" + IMG_LIBS="-Wl,-framework,ApplicationServices -lobjc $IMG_LIBS" else CFLAGS="$CFLAGS -DSDL_IMAGE_USE_COMMON_BACKEND" fi diff --git a/configure.in b/configure.in index e0d7aa55..673ae47e 100644 --- a/configure.in +++ b/configure.in @@ -80,7 +80,7 @@ case "$host" in AC_ARG_ENABLE([imageio], [AC_HELP_STRING([--enable-imageio], [use native Mac OS X frameworks for loading images [default=yes]])], [], [enable_imageio=yes]) if test x$enable_imageio = xyes; then - IMG_LIBS="-Wl,-framework,ApplicationServices $IMG_LIBS" + IMG_LIBS="-Wl,-framework,ApplicationServices -lobjc $IMG_LIBS" else CFLAGS="$CFLAGS -DSDL_IMAGE_USE_COMMON_BACKEND" fi