audio/speex: Don't break if libspeex.la is not present.

Requested by orbea for slibtool

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2018-04-23 18:29:02 +02:00 committed by Willy Sudiarto Raharjo
parent e5e9a7dc43
commit 07cfca7b33

View file

@ -97,8 +97,8 @@ make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 '{}' \;
# Fix libspeex.la
sed -i "s|-L$PKG.*/lib${LIBDIRSUFFIX} ||" $PKG/usr/lib${LIBDIRSUFFIX}/libspeex.la
# Fix libspeex.la (if present)
sed -i "s|-L$PKG.*/lib${LIBDIRSUFFIX} ||" $PKG/usr/lib${LIBDIRSUFFIX}/libspeex.la || true
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \