summaryrefslogtreecommitdiff
path: root/modules/pam_pwdb/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_pwdb/Makefile.am')
-rw-r--r--modules/pam_pwdb/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_pwdb/Makefile.am b/modules/pam_pwdb/Makefile.am
index 09b6e233..8831e2e8 100644
--- a/modules/pam_pwdb/Makefile.am
+++ b/modules/pam_pwdb/Makefile.am
@@ -18,7 +18,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 @LIBCRYPT@ @LIBPWDB@
if HAVE_VERSIONING
- AM_LDFLAGS += -Wl,--version-script=../modules.map
+ AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
endif
if HAVE_LIBPWDB