summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-30 18:11:00 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-30 18:11:00 +0200
commit7d7c1f9ea770a9ff7c967d387f81a89beff92590 (patch)
treeb98bd1f3bb73a62f71f2833d6b951724243605c9
parent208c1a556654a5cc3a3fd5fcc500f70261fb084b (diff)
remove postinst script
-rw-r--r--package/libpthread/Makefile1
-rw-r--r--package/libpthread/files/libpthread.postinst4
2 files changed, 1 insertions, 4 deletions
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index cdb84d5fe..9d7806bc5 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -36,6 +36,7 @@ libpthread-install:
ifeq ($(ADK_TARGET_LIB_MUSL),)
${INSTALL_DIR} ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
${CP} ${STAGING_TARGET_DIR}/lib/libpthread*.so* ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH)
+ (cd ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH); ln -sf libpthread.so.0 libpthread.so)
endif
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpthread/files/libpthread.postinst b/package/libpthread/files/libpthread.postinst
deleted file mode 100644
index 76a6c81a4..000000000
--- a/package/libpthread/files/libpthread.postinst
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-if [ ! -z $IPKG_INSTROOT ];then
- (cd $IPKG_INSTROOT/lib && ln -sf libpthread.so.0 libpthread.so)
-fi