summaryrefslogtreecommitdiff
path: root/Linux-PAM/modules/pam_exec/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Linux-PAM/modules/pam_exec/Makefile.am')
-rw-r--r--Linux-PAM/modules/pam_exec/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Linux-PAM/modules/pam_exec/Makefile.am b/Linux-PAM/modules/pam_exec/Makefile.am
index 4fc28b28..55fe9297 100644
--- a/Linux-PAM/modules/pam_exec/Makefile.am
+++ b/Linux-PAM/modules/pam_exec/Makefile.am
@@ -14,13 +14,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_exec.la
+pam_exec_la_LIBADD = -L$(top_builddir)/libpam -lpam
if ENABLE_REGENERATE_MAN