mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
gis/libgeotiff: Don't ship *.la files.
Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8c3cc1de07
commit
06d5105de5
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
|
|||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Don't ship .la files:
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
|
Loading…
Reference in a new issue