pam: Remove .la files.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2018-04-20 20:34:54 +07:00
parent d5ee0497a9
commit 06b0819cf9
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -5,7 +5,7 @@
# All rights reserved.
#
# Heavily modified by Willy Sudiarto Raharjo for CSB project
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackware-id.org>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
SRCNAM=Linux-PAM
PRGNAM=pam
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then
@ -94,6 +94,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
# this is a pam helper, that can only be called from pam
chown root:shadow $PKG/sbin/unix_chkpwd
chmod g+s $PKG/sbin/unix_chkpwd