]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Propagate -laudit to simple audit module build master
authorAlexander Bokovoy <abokovoy@redhat.com>
Wed, 1 Apr 2026 19:37:58 +0000 (22:37 +0300)
committerGreg Hudson <ghudson@mit.edu>
Mon, 15 Jun 2026 22:20:22 +0000 (18:20 -0400)
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
src/plugins/audit/simple/Makefile.in

index 4a07a76eb475465e37fc5c945443900ea0dbbb45..d165ba9cc586c618afd1769ebdc9d8fdabdd9c17 100644 (file)
@@ -412,6 +412,9 @@ TLS_IMPL_LIBS       = @TLS_IMPL_LIBS@
 # SPAKE preauth back-end libraries
 SPAKE_OPENSSL_LIBS = @SPAKE_OPENSSL_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@
 
 # Whether we have the SASL header file for the LDAP KDB module
 HAVE_SASL = @HAVE_SASL@
 
index 158ea75b1a2f736d2889641d7eeb3f4bdedcb859..dec4993eabe4bdb2431aefc3a6453eddf0cd58db 100644 (file)
@@ -8,7 +8,7 @@ RELDIR=../plugins/audit/simple
 
 #Depends on libkrb5 and libkrb5support.
 SHLIB_EXPDEPS= $(KRB5_BASE_DEPLIBS)
 
 #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
 
 STOBJLISTS= OBJS.ST ../OBJS.ST
 STLIBOBJS= au_simple_main.o