summaryrefslogtreecommitdiff
path: root/package/obexftp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:58:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:59:05 +0200
commit0d5a4bd73159fc794fdb417d49ab810b26e7d059 (patch)
tree53ef333b84afbbe7d6fed470885d716075295395 /package/obexftp
parent9e3458d13ae01591479732c1fe0cada8fd2259b7 (diff)
rework static linking support, works with musl/glibc, fails to boot with uclibc (qemu-x86)
Diffstat (limited to 'package/obexftp')
-rw-r--r--package/obexftp/Makefile6
1 files changed, 1 insertions, 5 deletions
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