From d0fdfbbb6df637df2049129a12fd51dd313937e3 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 18 Aug 2005 11:13:30 +0000 Subject: 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) --- modules/pam_stress/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/pam_stress') diff --git a/modules/pam_stress/Makefile.am b/modules/pam_stress/Makefile.am index ebc76a12..5daf06ee 100644 --- a/modules/pam_stress/Makefile.am +++ b/modules/pam_stress/Makefile.am @@ -11,8 +11,10 @@ secureconfdir = $(SCONFIGDIR) AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ -I$(top_srcdir)/modules/pammodutil/include/ -AM_LDFLAGS = -avoid-version -module \ +AM_LDFLAGS = -no-undefined -avoid-version -module \ -L$(top_builddir)/modules/pammodutil -lpammodutil \ -L$(top_builddir)/libpam -lpam - +if HAVE_VERSIONING + AM_LDFLAGS += -Wl,--version-script=../modules.map +endif securelib_LTLIBRARIES = pam_stress.la -- cgit v1.2.3