From e38b3ae4013ecf93d07ddbf68bad8fc5441ff9c5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 4 Jun 2015 11:15:13 +0200 Subject: fix linking with uClibc-ng --- package/afpfs-ng/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/afpfs-ng/Makefile') diff --git a/package/afpfs-ng/Makefile b/package/afpfs-ng/Makefile index 268aff1de..736065766 100644 --- a/package/afpfs-ng/Makefile +++ b/package/afpfs-ng/Makefile @@ -16,6 +16,9 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=afpfs-ng/} PKG_LIBNAME:= libafpclient PKG_OPTS:= dev +PKG_BUILDDEP_UCLIBC:= libiconv-tiny +PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny + PKG_SUBPKGS:= AFPFS_NG LIBAFPCLIENT PKGSD_LIBAFPCLIENT:= afp client library PKGSC_LIBAFPCLIENT:= libs/net @@ -27,6 +30,10 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,AFPFS_NG,afpfs-ng,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,LIBAFPCLIENT,libafpclient,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_LIBAFPCLIENT},${PKGSD_LIBAFPCLIENT},${PKGSC_LIBAFPCLIENT})) +ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y) +TARGET_LDFLAGS+= -liconv +endif + AUTOTOOL_STYLE:= autoreconf CONFIGURE_ARGS+= --enable-gcrypt CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes -- cgit v1.2.3