diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-30 15:14:58 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-30 19:51:00 +0200 |
commit | a200f896d81839e78e178bb202c4e17790232b53 (patch) | |
tree | c4566c6aa76ad8f0a73d6686b0979f989605121b | |
parent | aa010704b0bb609d29aa747321b3967f0c5abf50 (diff) |
fix build error with uclibc
-rw-r--r-- | package/dosfstools/Makefile | 4 | ||||
-rw-r--r-- | package/libiconv-tiny/Makefile | 2 |
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 |