From 5c5849dca7e9f6205c16bc3b419a9380b64715ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 5 Feb 2020 13:40:51 +0100 Subject: [PATCH] build: Don't hardcode libtool specific build path Don't hardcode the libtool specific build path in the configuration file, but in the build declaration instead. --- tests/pam/services/Makefile.am | 2 +- tests/pam/services/fprintd-pam-test.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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