summaryrefslogtreecommitdiff
path: root/package/libpthread
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-07-27 11:15:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-07-27 11:15:11 +0200
commit387f807fb69e4b45fd56d4ba05dc65b93bf97809 (patch)
tree7a1d1a8191a6b3d46fe49025776ecd45569676c1 /package/libpthread
parent1bd2bb0a91821025a50407f1b5a7e316e2e29eb5 (diff)
parent5b8ca9882625b354c5d935a14067568414fc369e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libpthread')
-rw-r--r--package/libpthread/Makefile1
-rw-r--r--package/libpthread/files/libpthread.postinst4
2 files changed, 4 insertions, 1 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index eb9dc9441..de0d75403 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -44,7 +44,6 @@ libpthread-install:
ifeq ($(ADK_NATIVE),)
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/lib
${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/lib
- (cd ${STAGING_TARGET_DIR}/lib && ln -sf libpthread.so.0 libpthread.so)
endif
libpthread-dev-install:
diff --git a/package/libpthread/files/libpthread.postinst b/package/libpthread/files/libpthread.postinst
new file mode 100644
index 000000000..76a6c81a4
--- /dev/null
+++ b/package/libpthread/files/libpthread.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+if [ ! -z $IPKG_INSTROOT ];then
+ (cd $IPKG_INSTROOT/lib && ln -sf libpthread.so.0 libpthread.so)
+fi