summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/dosfstools/Makefile4
-rw-r--r--package/libiconv-tiny/Makefile2
2 files changed, 6 insertions, 0 deletions
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile
index 3d122b91e..5d92b3b04 100644
--- a/package/dosfstools/Makefile
+++ b/package/dosfstools/Makefile
@@ -18,6 +18,10 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
+XAKE_FLAGS+= LDLIBS=-liconv
+endif
+
CONFIG_STYLE:= manual
XAKE_FLAGS+= PREFIX=""
diff --git a/package/libiconv-tiny/Makefile b/package/libiconv-tiny/Makefile
index 1a0f39f08..3edd0c15a 100644
--- a/package/libiconv-tiny/Makefile
+++ b/package/libiconv-tiny/Makefile
@@ -15,6 +15,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+PKG_LIBC_DEPENDS:= uclibc
+
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk