mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
pam: Remove .la files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
d5ee0497a9
commit
06b0819cf9
1 changed files with 5 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Heavily modified by Willy Sudiarto Raharjo for CSB project
|
# 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
|
# Redistribution and use of this script, with or without modification, is
|
||||||
# permitted provided that the following conditions are met:
|
# permitted provided that the following conditions are met:
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
SRCNAM=Linux-PAM
|
SRCNAM=Linux-PAM
|
||||||
PRGNAM=pam
|
PRGNAM=pam
|
||||||
VERSION=${VERSION:-1.3.0}
|
VERSION=${VERSION:-1.3.0}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -94,6 +94,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
|
||||||
|
|
||||||
# this is a pam helper, that can only be called from pam
|
# this is a pam helper, that can only be called from pam
|
||||||
chown root:shadow $PKG/sbin/unix_chkpwd
|
chown root:shadow $PKG/sbin/unix_chkpwd
|
||||||
chmod g+s $PKG/sbin/unix_chkpwd
|
chmod g+s $PKG/sbin/unix_chkpwd
|
||||||
|
|
Loading…
Reference in a new issue