git: 313204024723 - main - flua: don't build libjail into the bootstrap flua
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Oct 2025 20:16:41 UTC
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=31320402472394af57eb3a36bee7f944117ca0ed
commit 31320402472394af57eb3a36bee7f944117ca0ed
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-10-03 20:16:30 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-10-03 20:16:30 +0000
flua: don't build libjail into the bootstrap flua
Other systems don't have jail support, and we won't be using it anyways.
---
libexec/flua/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile
index b43b31298205..0d1841f8c3bd 100644
--- a/libexec/flua/Makefile
+++ b/libexec/flua/Makefile
@@ -9,7 +9,11 @@
FLUA_MODULES+= lfbsd
FLUA_MODULES+= lfs
FLUA_MODULES+= libhash
+.ifndef BOOTSTRAPPING
+# Bootstrap flua can't usefully do anything with libjail anyways, because it
+# can't assume it's being run on a system that even supports jails.
FLUA_MODULES+= libjail
+.endif
FLUA_MODULES+= libucl
FLUA_MODULES+= liblyaml
FLUA_MODULES+= lposix