summaryrefslogtreecommitdiff
path: root/package/libpthread
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-24 20:55:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-24 20:56:02 +0200
commit0bb892d56944213816721c082bd2252baa0d9158 (patch)
tree48c5103d2469a873a439ba2b07437aeb3bfabd88 /package/libpthread
parentde92e9de68ca650e2a4ec843b8d65c01399e27b1 (diff)
fix build for targets without threads
Diffstat (limited to 'package/libpthread')
-rw-r--r--package/libpthread/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index bba9cb7f3..6ccbcb430 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -34,9 +34,11 @@ INSTALL_STYLE:= manual
libpthread-install:
ifneq ($(ADK_TARGET_LIB_MUSL),y)
ifneq ($(ADK_TARGET_USE_STATIC_LIBS),y)
+ifneq ($(ADK_TARGET_WITHOUT_THREADS),y)
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
endif
endif
+endif
include ${ADK_TOPDIR}/mk/pkg-bottom.mk