aboutsummaryrefslogtreecommitdiff
path: root/libraries/liboop/liboop.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2022-02-10 09:19:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-10 09:19:16 +0700
commit04fbe6a6783ca75b86f0019673f175b56d9f4a87 (patch)
tree77dd485032d960d00954fd7c711807690c08f18e /libraries/liboop/liboop.SlackBuild
parentb8370deb301a3d4099dbf27e960367124fc2df54 (diff)
libraries/liboop: Remove .la files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/liboop/liboop.SlackBuild')
-rw-r--r--libraries/liboop/liboop.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/liboop/liboop.SlackBuild b/libraries/liboop/liboop.SlackBuild
index 35434d1028a7..44830d40231e 100644
--- a/libraries/liboop/liboop.SlackBuild
+++ b/libraries/liboop/liboop.SlackBuild
@@ -87,6 +87,9 @@ make install DESTDIR=$PKG
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild