summaryrefslogtreecommitdiff
path: root/modules/pam_filter
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_filter')
-rw-r--r--modules/pam_filter/Makefile.am2
-rw-r--r--modules/pam_filter/upperLOWER/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_filter/Makefile.am b/modules/pam_filter/Makefile.am
index 6993592d..9303431f 100644
--- a/modules/pam_filter/Makefile.am
+++ b/modules/pam_filter/Makefile.am
@@ -15,7 +15,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
include_HEADERS=pam_filter.h
diff --git a/modules/pam_filter/upperLOWER/Makefile.am b/modules/pam_filter/upperLOWER/Makefile.am
index d49de828..bcaaa81a 100644
--- a/modules/pam_filter/upperLOWER/Makefile.am
+++ b/modules/pam_filter/upperLOWER/Makefile.am
@@ -8,7 +8,7 @@ securelibfilterdir = $(SECUREDIR)/pam_filter
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
- -I..
+ -I$(srcdir)/..
AM_LDFLAGS = -L$(top_builddir)/libpam -lpam
securelibfilter_PROGRAMS = upperLOWER