From 07cfca7b3374d69d143e0e8df15975f2454e881a Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 23 Apr 2018 18:29:02 +0200 Subject: audio/speex: Don't break if libspeex.la is not present. Requested by orbea for slibtool Signed-off-by: Matteo Bernardini --- audio/speex/speex.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild index 824a4523d6..dba755fb36 100644 --- a/audio/speex/speex.SlackBuild +++ b/audio/speex/speex.SlackBuild @@ -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 \ -- cgit v1.2.3