diff --git a/tests/pam/services/Makefile.am b/tests/pam/services/Makefile.am index e53c53b..8477efb 100644 --- a/tests/pam/services/Makefile.am +++ b/tests/pam/services/Makefile.am @@ -1,7 +1,7 @@ all-am: fprintd-pam-test fprintd-pam-test: fprintd-pam-test.in Makefile - sed -e "s|\@TOPBUILDDIR\@|$(abs_top_builddir)|" $< > $@ + sed -e "s|\@FPRINTDPAMPATH\@|$(abs_top_builddir)/pam/.libs/pam_fprintd.so|" $< > $@ EXTRA_DIST = fprintd-pam-test.in CLEANFILES = fprintd-pam-test diff --git a/tests/pam/services/fprintd-pam-test.in b/tests/pam/services/fprintd-pam-test.in index aacfc2b..f3fb5c3 100644 --- a/tests/pam/services/fprintd-pam-test.in +++ b/tests/pam/services/fprintd-pam-test.in @@ -1 +1 @@ -auth required @TOPBUILDDIR@/pam/.libs/pam_fprintd.so debug timeout=10 +auth required @FPRINTDPAMPATH@ debug timeout=10