diff options
Diffstat (limited to 'slackware64-current/source/l/db42/db42.SlackBuild')
-rwxr-xr-x | slackware64-current/source/l/db42/db42.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/slackware64-current/source/l/db42/db42.SlackBuild b/slackware64-current/source/l/db42/db42.SlackBuild index 0e5d6f2fa..0b1d986c2 100755 --- a/slackware64-current/source/l/db42/db42.SlackBuild +++ b/slackware64-current/source/l/db42/db42.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=db42 VERSION=4.2.52 -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -101,6 +101,9 @@ CXXFLAGS="$SLKCFLAGS" \ make -j3 || exit 1 make install DESTDIR=$PKG || exit 1 +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |