summaryrefslogtreecommitdiff
path: root/package/libpthread
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-06-26 20:10:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-06-26 20:10:44 +0200
commitbf89ff6c79e76b23d153cead09754e68dbe59983 (patch)
tree229463616389a8e00c8fc33576987d86ac2bba85 /package/libpthread
parentac01f0d24321933d3456190164f5b68ccc94976a (diff)
more 2.6.39 fixes
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