From: Alexander Bokovoy Date: Wed, 1 Apr 2026 19:37:58 +0000 (+0300) Subject: Propagate -laudit to simple audit module build X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;ds=inline;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/config/pre.in b/src/config/pre.in index 4a07a76eb4..d165ba9cc5 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 158ea75b1a..dec4993eab 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