From bf89ff6c79e76b23d153cead09754e68dbe59983 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 26 Jun 2011 20:10:44 +0200 Subject: more 2.6.39 fixes --- package/libpthread/Makefile | 1 - package/libpthread/files/libpthread.postinst | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 package/libpthread/files/libpthread.postinst (limited to 'package/libpthread') 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 -- cgit v1.2.3