diff options
Diffstat (limited to 'package/libpthread')
-rw-r--r-- | package/libpthread/Makefile | 1 | ||||
-rw-r--r-- | package/libpthread/files/libpthread.postinst | 4 |
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 |