summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libxml2/libxml2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libxml2/libxml2.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libxml2/libxml2.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libxml2/libxml2.SlackBuild b/slackware64-current/source/l/libxml2/libxml2.SlackBuild
index f1043abc1..e8181eb86 100755
--- a/slackware64-current/source/l/libxml2/libxml2.SlackBuild
+++ b/slackware64-current/source/l/libxml2/libxml2.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libxml2
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -113,6 +113,9 @@ make install DESTDIR=$PKG || exit 1
python -m compileall "${PKG}$PYTHONLIB"
python -O -m compileall "${PKG}$PYTHONLIB"
+# 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