summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2018-04-23 18:29:02 +0200
committer Willy Sudiarto Raharjo2018-04-28 01:40:24 +0200
commit342955078de05f0fb718f6a19def1ea358e60b8c (patch)
tree3ea35ce76c7751ec5e3e34f670ac34da0dc22ae5
parent3215b73a9bedea18015d9661c6f9f22ade520e06 (diff)
downloadold.slackbuilds-342955078de05f0fb718f6a19def1ea358e60b8c.tar.gz
audio/speex: Don't break if libspeex.la is not present.
Requested by orbea for slibtool Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--audio/speex/speex.SlackBuild4
1 files 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 \