aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2025-10-03 20:16:30 +0000
committerKyle Evans <kevans@FreeBSD.org>2025-10-03 20:16:30 +0000
commit31320402472394af57eb3a36bee7f944117ca0ed (patch)
treefe69c8a3c7cde5515116d80d2fe5984e8635e842
parent641a58239520de9fc5a9077e9a709481cfc75dc0 (diff)
flua: don't build libjail into the bootstrap flua
Other systems don't have jail support, and we won't be using it anyways.
-rw-r--r--libexec/flua/Makefile4
1 files changed, 4 insertions, 0 deletions
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