summaryrefslogtreecommitdiff
path: root/package/libpthread
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:39:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:39:48 +0100
commit4088c6eaebb868c4533c83a3d7880b9fab31d45e (patch)
tree55a79694e55cafd70798d729e9f151850c5f3fab /package/libpthread
parentd0cc7e39caa254a2fb234a7f737e020dcf3b2b21 (diff)
make obexftp work with static linking, fix ipv6 dependency
Diffstat (limited to 'package/libpthread')
-rw-r--r--package/libpthread/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index a70697533..b7ff49f7e 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -18,9 +18,13 @@ PKG_DESCR:= POSIX threading library
PKG_SECTION:= libs
NO_DISTFILES:= 1
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBPTHREAD,libpthread,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBPTHREAD,libpthread,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
do-install:
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/lib