krb5 commit [krb5-1.22]: Propagate -laudit to simple audit module build

ghudson at mit.edu ghudson at mit.edu
Mon Aug 31 22:48:17 EDT 2026


https://github.com/krb5/krb5/commit/09434e5816ed7234bb14a4790b8b781f32f4e202
commit 09434e5816ed7234bb14a4790b8b781f32f4e202
Author: Alexander Bokovoy <abokovoy at redhat.com>
Date:   Wed Apr 1 22:37:58 2026 +0300

    Propagate -laudit to simple audit module build
    
    When configure is run with --enable-audit-plugin, configure.ac checks
    for libaudit and defines AUDIT_IMPL_LIBS.  Propagate this variable to
    plugins/audit/simple/Makefile.in so it is used in the module build.
    
    [ghudson at mit.edu: rewrote commit message]
    
    (cherry picked from commit 27310e2e14cda3dfc9dcb37c91facda3b4a3ee3d)
    
    ticket: 9221
    version_fixed: 1.22.3

 src/config/pre.in                    | 3 +++
 src/plugins/audit/simple/Makefile.in | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/config/pre.in b/src/config/pre.in
index 1197c1ffd..2b0ec4706 100644
--- a/src/config/pre.in
+++ b/src/config/pre.in
@@ -413,6 +413,9 @@ TLS_IMPL_LIBS	= @TLS_IMPL_LIBS@
 # SPAKE preauth back-end libraries
 SPAKE_OPENSSL_LIBS = @SPAKE_OPENSSL_LIBS@
 
+# simple audit plugin module dependencies
+AUDIT_IMPL_LIBS = @AUDIT_IMPL_LIBS@
+
 # Whether we have the SASL header file for the LDAP KDB module
 HAVE_SASL = @HAVE_SASL@
 
diff --git a/src/plugins/audit/simple/Makefile.in b/src/plugins/audit/simple/Makefile.in
index 158ea75b1..dec4993ea 100644
--- a/src/plugins/audit/simple/Makefile.in
+++ b/src/plugins/audit/simple/Makefile.in
@@ -8,7 +8,7 @@ RELDIR=../plugins/audit/simple
 
 #Depends on libkrb5 and libkrb5support.
 SHLIB_EXPDEPS= $(KRB5_BASE_DEPLIBS)
-SHLIB_EXPLIBS= $(KRB5_BASE_LIBS)
+SHLIB_EXPLIBS= $(KRB5_BASE_LIBS) $(AUDIT_IMPL_LIBS)
 
 STOBJLISTS= OBJS.ST ../OBJS.ST
 STLIBOBJS= au_simple_main.o


More information about the cvs-krb5 mailing list