diff options
-rw-r--r-- | meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index c7954e7ccd..11cc243e6d 100644 --- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | |||
@@ -87,10 +87,12 @@ do_install () { | |||
87 | oe_libinstall -a libwrap ${D}${libdir} | 87 | oe_libinstall -a libwrap ${D}${libdir} |
88 | oe_libinstall -C shared -so libwrap ${D}${base_libdir} | 88 | oe_libinstall -C shared -so libwrap ${D}${base_libdir} |
89 | 89 | ||
90 | rel_lib_prefix=`echo ${libdir} | sed 's,\(^/\|\)[^/][^/]*,..,g'` | 90 | if [ "${libdir}" != "${base_libdir}" ] ; then |
91 | libname=`readlink ${D}${base_libdir}/libwrap.so | xargs basename` | 91 | rel_lib_prefix=`echo ${libdir} | sed 's,\(^/\|\)[^/][^/]*,..,g'` |
92 | ln -s ${rel_lib_prefix}${base_libdir}/${libname} ${D}${libdir}/libwrap.so | 92 | libname=`readlink ${D}${base_libdir}/libwrap.so | xargs basename` |
93 | rm -f ${D}${base_libdir}/libwrap.so | 93 | ln -s ${rel_lib_prefix}${base_libdir}/${libname} ${D}${libdir}/libwrap.so |
94 | rm -f ${D}${base_libdir}/libwrap.so | ||
95 | fi | ||
94 | 96 | ||
95 | install -d ${D}${sbindir} | 97 | install -d ${D}${sbindir} |
96 | for b in ${BINS}; do | 98 | for b in ${BINS}; do |