pkgsrc/graphics/SDL2_image/patches/patch-configure
adam 4fc6fb57f0 This is a simple library to load images of various formats as SDL surfaces.
This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG,
TGA, and TIFF formats.
2014-03-31 10:10:14 +00:00

14 lines
536 B
Text

$NetBSD: patch-configure,v 1.1 2014/03/31 10:10:14 adam Exp $
Add frameworks required to link under OS X.
--- configure.orig 2014-03-19 15:55:16.000000000 +0000
+++ configure
@@ -12024,6 +12024,7 @@ fi
if test x$enable_imageio = xyes; then
IMG_LIBS="-Wl,-framework,ApplicationServices $IMG_LIBS"
+ IMG_LIBS="-Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,IOKit -Wl,-framework,ForceFeedback $IMG_LIBS"
else
CFLAGS="$CFLAGS -DSDL_IMAGE_USE_COMMON_BACKEND"
fi