Skip to content

Commit

Permalink
Fixed bug 1754 - Link SDL_image HG to Cocoa
Browse files Browse the repository at this point in the history
We don't need all of Cocoa, we just need the Objective C runtime.
  • Loading branch information
slouken committed Sep 7, 2013
1 parent d7eed99 commit 8225b3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -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
Expand Down

0 comments on commit 8225b3a

Please sign in to comment.