aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-18 23:08:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-19 13:16:48 +0700
commit65c315a6ddf3a7f31981b2e4146946b7f1658ae0 (patch)
treee83c9287540332f293cb5831bcd9a47c28c6f02e
parent2a221a29c8676948b5f5bb5c8dadf8db6a9cccce (diff)
libraries/vsqlite++: Remove .la file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/vsqlite++/vsqlite++.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/vsqlite++/vsqlite++.SlackBuild b/libraries/vsqlite++/vsqlite++.SlackBuild
index f3ce072d0203..53276ee0f061 100644
--- a/libraries/vsqlite++/vsqlite++.SlackBuild
+++ b/libraries/vsqlite++/vsqlite++.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for vsqlite++
-# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -84,6 +84,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true