summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-07-16 14:20:33 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-07-16 14:20:33 +0200
commit64268b9c6d44b34b40de561df44c00fba3b12e89 (patch)
treeefb5ab00c24622d51bf428bdad579c84a5d2db72 /package
parent6979213dd4def962ab8499e23b04394cfaa16169 (diff)
fix compile with iconv from C library
Diffstat (limited to 'package')
-rw-r--r--package/dosfstools/Makefile2
-rw-r--r--package/parted/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile
index 291f0231f..f3270371f 100644
--- a/package/dosfstools/Makefile
+++ b/package/dosfstools/Makefile
@@ -16,7 +16,7 @@ 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)$(ADK_TARGET_LIB_UCLIBC_NG),y)
+ifeq ($(ADK_TARGET_LIBICONV_TINY),y)
XAKE_FLAGS+= LDLIBS=-liconv
endif
diff --git a/package/parted/Makefile b/package/parted/Makefile
index 3f1a9b41f..bd297c6bc 100644
--- a/package/parted/Makefile
+++ b/package/parted/Makefile
@@ -18,7 +18,7 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PARTED,parted,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
-ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y)
+ifeq ($(ADK_TARGET_LIBICONV_TINY),y)
TARGET_LDFLAGS+= -liconv
endif