summaryrefslogtreecommitdiff
path: root/modules/pam_warn
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2011-10-28 02:20:17 +0000
committerDmitry V. Levin <ldv@altlinux.org>2011-10-28 02:20:17 +0000
commit61a6b8c8e850ec1589e01accf15f3bce2c80d494 (patch)
tree44d3ee299750b3df0fcf2154be5a9803da9c1a21 /modules/pam_warn
parent3e7fb3233efe776d867be9d34b4b6e83ec59df86 (diff)
Fix usage of LIBADD, LDADD and LDFLAGS
* modules/pam_selinux/Makefile.am: Rename pam_selinux_check_LDFLAGS to pam_selinux_check_LDADD. * modules/pam_userdb/Makefile.am: Split out pam_userdb_la_LIBADD from AM_LDFLAGS. * modules/pam_warn/Makefile.am: Split out pam_warn_la_LIBADD from AM_LDFLAGS. * modules/pam_wheel/Makefile.am: Split out pam_wheel_la_LIBADD from AM_LDFLAGS. * modules/pam_xauth/Makefile.am: split out pam_xauth_la_LIBADD from AM_LDFLAGS. * xtests/Makefile.am: Rename AM_LDFLAGS to LDADD.
Diffstat (limited to 'modules/pam_warn')
-rw-r--r--modules/pam_warn/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_warn/Makefile.am b/modules/pam_warn/Makefile.am
index 75cf38a5..7fd570e3 100644
--- a/modules/pam_warn/Makefile.am
+++ b/modules/pam_warn/Makefile.am
@@ -16,13 +16,13 @@ securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include
-AM_LDFLAGS = -no-undefined -avoid-version -module \
- -L$(top_builddir)/libpam -lpam
+AM_LDFLAGS = -no-undefined -avoid-version -module
if HAVE_VERSIONING
AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
endif
securelib_LTLIBRARIES = pam_warn.la
+pam_warn_la_LIBADD = -L$(top_builddir)/libpam -lpam
if ENABLE_REGENERATE_MAN
noinst_DATA = README