diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2026-04-03 13:43:18 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2026-04-03 13:43:18 +0000 |
| commit | b13d7062b3a65ba600745fef6a2b4058444e5f6c (patch) | |
| tree | 4bb0e252e2b43036808d37adcd47ab4e8c1dfd78 | |
| parent | baa7a870d65db324d4dd781702e7ccefde20a3ee (diff) | |
libauditd: Don't build if WITHOUT_AUDIT is set
When WITHOUT_AUDIT is set, nothing is built that uses this library,
so don't build the library. This avoids building the FreeBSD-audit
package when WITHOUT_AUDIT is set.
MFC after: never
Reviewed by: csjp, imp, emaste
Differential Revision: https://reviews.freebsd.org/D56157
Sponsored by: https://www.patreon.com/bsdivy
| -rw-r--r-- | lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 6e2ff634c963..1cb2d1d89e39 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -34,7 +34,6 @@ SUBDIR= ${SUBDIR_BOOTSTRAP} \ lib9p \ libalias \ libarchive \ - libauditd \ libbegemot \ libblocksruntime \ libbsddialog \ @@ -173,6 +172,7 @@ SUBDIR+= clang .endif .endif +SUBDIR.${MK_AUDIT}+= libauditd SUBDIR.${MK_CUSE}+= libcuse SUBDIR.${MK_TOOLCHAIN}+=libpe SUBDIR.${MK_DIALOG}+= libdpv libfigpar |
