mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2025-01-13 08:01:08 +01:00
libunique3: remove la files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
parent
2ffb6afb02
commit
00e1aa6a8f
1 changed files with 4 additions and 1 deletions
5
deps/libunique3/libunique3.SlackBuild
vendored
5
deps/libunique3/libunique3.SlackBuild
vendored
|
@ -29,7 +29,7 @@
|
||||||
PRGNAM=libunique3
|
PRGNAM=libunique3
|
||||||
SRCNAM=libunique
|
SRCNAM=libunique
|
||||||
VERSION=${VERSION:-3.0.2}
|
VERSION=${VERSION:-3.0.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -93,6 +93,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
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 \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue