stk: fix i686* build

This commit is contained in:
Jürgen Buchmüller 2020-04-14 13:37:54 +02:00
parent d50e726157
commit d0ef5ede8e

View file

@ -19,6 +19,12 @@ pre_configure() {
}
post_install() {
# Fix wrong 32 bit library install path
if [ -f "${DESTDIR}"/usr/usr/lib32/libstk.so ]; then
mv -v "${DESTDIR}"/usr/usr/lib32/* "${DESTDIR}"/usr/lib
fi
# Create a pkg-config file
vmkdir usr/lib/pkgconfig
sed ${FILESDIR}/stk.pc \
-e "s;@VERSION@;${version};" \