summaryrefslogtreecommitdiff
path: root/package/libpthread
diff options
context:
space:
mode:
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 883c04a87..d8e1f31e3 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -31,8 +31,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