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 79eaadc6a..c2f3f7a3c 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -32,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