summaryrefslogtreecommitdiff
path: root/package/libpthread/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-06 17:34:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-06 17:34:57 +0200
commit11d1e33a78f6446a85ff6ea2e7f2d446f76529cc (patch)
tree5f4cdd14baf572940a1538fba31272f7172913c6 /package/libpthread/Makefile
parentabb21a3a50a3c12aaa759db96a7aaf5d3bc52951 (diff)
fix build when static linking is on
Diffstat (limited to 'package/libpthread/Makefile')
-rw-r--r--package/libpthread/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index 13de900ff..6ba962062 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -35,10 +35,12 @@ INSTALL_STYLE:= manual
libpthread-install:
ifeq ($(ADK_TARGET_LIB_MUSL),)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
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
+endif
include ${ADK_TOPDIR}/mk/pkg-bottom.mk