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 --- modules/pam_env/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/pam_env') diff --git a/modules/pam_env/Makefile.am b/modules/pam_env/Makefile.am index b1e2435c..cf22e9b5 100644 --- a/modules/pam_env/Makefile.am +++ b/modules/pam_env/Makefile.am @@ -29,7 +29,8 @@ if HAVE_VERSIONING endif securelib_LTLIBRARIES = pam_env.la -pam_env_la_LIBADD = $(top_builddir)/libpam/libpam.la $(ECONF_LIBS) +pam_env_la_LIBADD = $(top_builddir)/libpam_internal/libpam_internal.la \ + $(top_builddir)/libpam/libpam.la $(ECONF_LIBS) check_PROGRAMS = tst-pam_env-retval tst_pam_env_retval_LDADD = $(top_builddir)/libpam/libpam.la -- cgit v1.2.3