summaryrefslogtreecommitdiff
path: root/package/libpthread
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-07-06 14:02:43 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-07-06 14:02:43 +0200
commit44a41db3178eada81cacabe12e89b237c63968b2 (patch)
treedd37adba841d20e2c8437a26e3e08ff585c3eea9 /package/libpthread
parent11733bda7a4adc9f330bed1dc2611e9ae393c3c0 (diff)
try to depend on NPTL
Diffstat (limited to 'package/libpthread')
-rw-r--r--package/libpthread/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index 1c7a19e3b..13de900ff 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -21,6 +21,8 @@ PKG_DESCR:= posix threading library
PKG_SECTION:= base/libs
PKG_OPTS:= noremove nostaging noscripts
+PKG_CFLINE_LIBPTHREAD:= depends on ADK_TARGET_WITH_NPTL
+
NO_DISTFILES:= 1
include ${ADK_TOPDIR}/mk/package.mk
@@ -33,8 +35,10 @@ INSTALL_STYLE:= manual
libpthread-install:
ifeq ($(ADK_TARGET_LIB_MUSL),)
+ifeq ($(ADK_TARGET_WITH_NPTL),y)
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
endif
+endif
include ${ADK_TOPDIR}/mk/pkg-bottom.mk