summaryrefslogtreecommitdiff
path: root/modules/pam_mail/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_mail/Makefile.am')
-rw-r--r--modules/pam_mail/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_mail/Makefile.am b/modules/pam_mail/Makefile.am
index 733fa6ae..a70bc7b7 100644
--- a/modules/pam_mail/Makefile.am
+++ b/modules/pam_mail/Makefile.am
@@ -13,7 +13,7 @@ AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include
AM_LDFLAGS = -no-undefined -avoid-version -module \
-L$(top_builddir)/libpam -lpam
if HAVE_VERSIONING
- AM_LDFLAGS += -Wl,--version-script=../modules.map
+ AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
endif
securelib_LTLIBRARIES = pam_mail.la