summaryrefslogtreecommitdiff
path: root/package/libpthread
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-17 15:29:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-17 15:29:05 +0200
commitb2e4bbd4e62982852b8a7da8f618d01d2013641e (patch)
tree968e7998c78e750162e60c747ab039f78d2f8289 /package/libpthread
parent1a2a22729ff0256725a3561e46f465efc18801f7 (diff)
parentd6aaf0be5bfa8e5944d9ae44cf175f9388564ac6 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/binutils/Makefile
Diffstat (limited to 'package/libpthread')
-rw-r--r--package/libpthread/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index 883c04a87..c2f3f7a3c 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -16,6 +16,7 @@ endif
PKG_NAME:= libpthread
PKG_DESCR:= POSIX threading library
PKG_SECTION:= libs
+
NO_DISTFILES:= 1
ifeq ($(ADK_STATIC),y)
@@ -31,8 +32,10 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-install:
+ifeq ($(ADK_NATIVE),)
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/lib
${CP} ${STAGING_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/lib
cd $(IDIR_LIBPTHREAD)/lib && ln -sf libpthread.so.0 libpthread.so
+endif
include ${TOPDIR}/mk/pkg-bottom.mk