summaryrefslogtreecommitdiff
path: root/modules/pam_tally
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-08-18 11:13:30 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-08-18 11:13:30 +0000
commitd0fdfbbb6df637df2049129a12fd51dd313937e3 (patch)
treeaf321381af8b405ffc01c1ce5850dcc25e153891 /modules/pam_tally
parent61453cd289e5bcf6f0c87ede494fa54e4e282456 (diff)
Relevant BUGIDs: none
Purpose of commit: new feature Commit summary: --------------- Use modules.map as linker version map for all PAM modules Use /var/run for debug output instead of /tmp (Patches from ALT Linux/OWL)
Diffstat (limited to 'modules/pam_tally')
-rw-r--r--modules/pam_tally/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pam_tally/Makefile.am b/modules/pam_tally/Makefile.am
index 47f490b0..a95a5bb6 100644
--- a/modules/pam_tally/Makefile.am
+++ b/modules/pam_tally/Makefile.am
@@ -16,7 +16,10 @@ AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
AM_LDFLAGS = -L$(top_builddir)/modules/pammodutil -lpammodutil \
-L$(top_builddir)/libpam -lpam
-pam_tally_la_LDFLAGS = -avoid-version -module
+pam_tally_la_LDFLAGS = -no-undefined -avoid-version -module
+if HAVE_VERSIONING
+ pam_tally_la_LDFLAGS += -Wl,--version-script=../modules.map
+endif
securelib_LTLIBRARIES = pam_tally.la
sbin_PROGRAMS = pam_tally