diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-03 10:41:43 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-03 12:16:56 +0200 |
commit | 6d107bb4582c2b57bfce6aefe1b84f527c2f4946 (patch) | |
tree | 747cf417045acfd950ad864f7dfbf14153912f09 /cmake-template.SlackBuild | |
parent | a9c2c432f5db4b6f616564fcc223d4a74e3af06e (diff) |
cmake-template.SlackBuild: Don't ship .la files
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'cmake-template.SlackBuild')
-rw-r--r-- | cmake-template.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild index 26d51ff..66f52f1 100644 --- a/cmake-template.SlackBuild +++ b/cmake-template.SlackBuild @@ -122,6 +122,9 @@ cd build make install/strip DESTDIR=$PKG cd .. +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + # Strip binaries and libraries - this can be done with 'make install-strip' # in many source trees, and that's usually acceptable, if not, use this: find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |