summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-22 12:11:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-22 12:12:30 +0200
commit5eda98b6b87629841b1e4d9216d4bb79043554c4 (patch)
treec4c09ce7fcfde225168660839d099829b31d0c1d /package
parentcc58d2aa2415a0c9ff820795c31f43bcf02f41f5 (diff)
fix compile with uclibc-ng
Diffstat (limited to 'package')
-rw-r--r--package/dosfstools/Makefile3
-rw-r--r--package/glib/Makefile1
2 files changed, 3 insertions, 1 deletions
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile
index 5d92b3b04..447a1a60f 100644
--- a/package/dosfstools/Makefile
+++ b/package/dosfstools/Makefile
@@ -13,12 +13,13 @@ PKG_URL:= http://www.daniel-baumann.ch/software/dosfstools/
PKG_SITES:= http://daniel-baumann.ch/files/software/dosfstools/
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
+PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
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)
+ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y)
XAKE_FLAGS+= LDLIBS=-liconv
endif
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 9a5fe8542..4f6c30df8 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -19,6 +19,7 @@ PKG_NOPARALLEL:= 1
PKG_OPTS:= dev noscripts
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
+PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
include ${ADK_TOPDIR}/mk/host.mk
include ${ADK_TOPDIR}/mk/package.mk