summaryrefslogtreecommitdiff
path: root/package/sdl-image
diff options
context:
space:
mode:
Diffstat (limited to 'package/sdl-image')
-rw-r--r--package/sdl-image/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/sdl-image/Makefile b/package/sdl-image/Makefile
index 14fa39434..b2546aac9 100644
--- a/package/sdl-image/Makefile
+++ b/package/sdl-image/Makefile
@@ -26,6 +26,10 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBSDL_IMAGE,libsdl-image,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBSDL_IMAGE,libsdl-image,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+ifeq ($(ADK_HOST_DARWIN),y)
+LDFLAGS_FOR_BUILD+= -framework Cocoa
+endif
+
HOST_STYLE:= auto
CONFIGURE_ARGS+= --enable-png \
--enable-jpg \