summaryrefslogtreecommitdiff
path: root/package/cups
diff options
context:
space:
mode:
Diffstat (limited to 'package/cups')
-rw-r--r--package/cups/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/cups/Makefile b/package/cups/Makefile
index 1310c7f5f..086896562 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -25,6 +25,10 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+ifeq ($(ADK_TARGET_LIBICONV),y)
+TARGET_LDFLAGS+= -liconv
+endif
+
ifneq ($(ADK_HOST_LINUX),y)
HOST_LINUX_ONLY:= 1
endif