From 54a0aee65b3d8129a55ece62ab8540f1cac3e929 Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Mon, 22 Jan 2024 21:17:35 +0100 Subject: libpam_internal: supply debug functionality Move function bodies from headers into dedicated object files stored in libpam_internal. This library won't be installed. Keep the debug function body in header, even though disabled when building Linux-PAM, to stay API compatible with previous versions. Signed-off-by: Tobias Stoeckmann --- tests/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index a33d3d8d..be7da35f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -4,7 +4,8 @@ AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_srcdir)/libpam/include \ -I$(top_srcdir)/libpam $(WARN_CFLAGS) -LDADD = $(top_builddir)/libpam/libpam.la +LDADD = $(top_builddir)/libpam_internal/libpam_internal.la \ + $(top_builddir)/libpam/libpam.la CLEANFILES = *~ @@ -18,4 +19,4 @@ EXTRA_DIST = confdir check_PROGRAMS = ${TESTS} tst-dlopen -tst_dlopen_LDADD = -ldl +tst_dlopen_LDADD = $(top_builddir)/libpam_internal/libpam_internal.la -ldl -- cgit v1.2.3