ncurses32: fix soname symlinks.
This commit is contained in:
parent
13539cacfb
commit
f3a53a261f
1 changed files with 8 additions and 0 deletions
|
@ -45,4 +45,12 @@ do_install()
|
||||||
install -d ${DESTDIR}/lib32 ${DESTDIR}/usr/lib32
|
install -d ${DESTDIR}/lib32 ${DESTDIR}/usr/lib32
|
||||||
cp -a ${wrksrc}/lib/*.so* ${DESTDIR}/lib32
|
cp -a ${wrksrc}/lib/*.so* ${DESTDIR}/lib32
|
||||||
cp -a ${wrksrc}/usr/lib/*.{a,so*} ${DESTDIR}/usr/lib32
|
cp -a ${wrksrc}/usr/lib/*.{a,so*} ${DESTDIR}/usr/lib32
|
||||||
|
mv ${DESTDIR}/usr/lib32/*.so.${version} ${DESTDIR}/lib32
|
||||||
|
rm -f ${DESTDIR}/usr/lib32/*.so*
|
||||||
|
# Remake the symlinks with proper path to /lib32.
|
||||||
|
for f in panel panelw form formw menu menuw ncurses ncursesw; do
|
||||||
|
cd ${DESTDIR}/usr/lib32 && \
|
||||||
|
ln -sf ../../lib32/lib${f}.so.${version} lib${f}.so && \
|
||||||
|
ln -sf ../../lib32/lib${f}.so.${version} lib${f}.so.5
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue