[31549] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Propagate -laudit to simple audit module build

daemon@ATHENA.MIT.EDU (ghudson@mit.edu)
Mon Jun 15 18:20:40 2026

From: ghudson@mit.edu
To: cvs-krb5@mit.edu
Message-Id: <20260615222033.8BA82101C47@krbdev.mit.edu>
Date: Mon, 15 Jun 2026 18:20:33 -0400 (EDT)
MIME-Version: 1.0
Reply-To: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/27310e2e14cda3dfc9dcb37c91facda3b4a3ee3d
commit 27310e2e14cda3dfc9dcb37c91facda3b4a3ee3d
Author: Alexander Bokovoy <abokovoy@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@mit.edu: rewrote commit message]
    
    ticket: 9221 (new)
    tags: pullup
    target_version: 1.22-next

 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 4a07a76eb..d165ba9cc 100644
--- a/src/config/pre.in
+++ b/src/config/pre.in
@@ -412,6 +412,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
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post