From 0d5a4bd73159fc794fdb417d49ab810b26e7d059 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 31 May 2014 19:58:50 +0200 Subject: rework static linking support, works with musl/glibc, fails to boot with uclibc (qemu-x86) --- package/obexftp/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'package/obexftp/Makefile') diff --git a/package/obexftp/Makefile b/package/obexftp/Makefile index ed1af086e..5c6116342 100644 --- a/package/obexftp/Makefile +++ b/package/obexftp/Makefile @@ -22,16 +22,12 @@ PKGSD_LIBOBEXFTP:= obex ftp library DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 -ifeq ($(ADK_STATIC),y) -PKG_OPTS+= libmix -endif - include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,OBEXFTP,obexftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,LIBOBEXFTP,libobexftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBOBEXFTP},${PKGSC_LIBOBEXFTP},${PKG_OPTS})) -ifeq ($(ADK_STATIC),y) +ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y) XAKE_FLAGS+= STATIC_CFLAGS=-all-static endif -- cgit v1.2.3