diff options
author | Stepan Kasal | 2007-05-15 20:46:03 +0200 |
---|---|---|
committer | Karel Zak | 2007-05-16 11:43:29 +0200 |
commit | 3f3c9c909a41611ac5d2a9c151290296aa30a97f (patch) | |
tree | edecba12e0a74bf4dadf9c7216db0ae8ac9dfec9 /login-utils | |
parent | build-sys: do not play with DEFS, use AM_CPPFLAGS (diff) | |
download | kernel-qcow2-util-linux-3f3c9c909a41611ac5d2a9c151290296aa30a97f.tar.gz kernel-qcow2-util-linux-3f3c9c909a41611ac5d2a9c151290296aa30a97f.tar.xz kernel-qcow2-util-linux-3f3c9c909a41611ac5d2a9c151290296aa30a97f.zip |
build-sys: add SUID_LDFLAGS
Programs which are usually installed with the setuid bit do need their own
CFLAGS and LDFLAGS. SUID_LDFLAGS is analogic to SUID_CFLAGS.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/login-utils/Makefile.am b/login-utils/Makefile.am index 648cf17c4..f66982175 100644 --- a/login-utils/Makefile.am +++ b/login-utils/Makefile.am @@ -55,6 +55,10 @@ chfn_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) chsh_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) newgrp_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) +chfn_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +chsh_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +newgrp_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) + if NEED_LIBCRYPT chfn_LDADD += -lcrypt chsh_LDADD += -lcrypt |