summaryrefslogtreecommitdiff
path: root/package/cups/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-12 09:31:51 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-12 20:05:45 +0200
commit008bb7d2bc10d3fed48d7033aeecef3b9030955e (patch)
tree571e185a66a8fdec979d07585bff44e09fb0e41e /package/cups/Makefile
parentbbb1a75cb411c2bea2fb9964e64ed35d9aaa1655 (diff)
cups: iconv required
Diffstat (limited to 'package/cups/Makefile')
-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