aboutsummaryrefslogtreecommitdiff
path: root/lib/liblua
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-08-14 02:22:19 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-08-14 02:22:19 +0000
commitc2a2b4f3cf11e770892a524df637f671f5989719 (patch)
treece55c3c96631e53957df08d95a11452c41f23c2e /lib/liblua
parent2933cd31845432dbaac67917e6babc516d2a57d1 (diff)
downloadsrc-c2a2b4f3cf11e770892a524df637f671f5989719.tar.gz
src-c2a2b4f3cf11e770892a524df637f671f5989719.zip
flua: don't allow dlopen, et al., for bootstrap flua
There are some logistics issues that need to be sorted out here before we can actually allow this to work.
Notes
Notes: svn path=/head/; revision=364226
Diffstat (limited to 'lib/liblua')
-rw-r--r--lib/liblua/luaconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/liblua/luaconf.h b/lib/liblua/luaconf.h
index 6226e8ab1e84..bc7f5bb6e141 100644
--- a/lib/liblua/luaconf.h
+++ b/lib/liblua/luaconf.h
@@ -75,8 +75,10 @@
/* Local modifications: need io.popen */
#ifdef __FreeBSD__
#define LUA_USE_POSIX
+#ifndef BOOTSTRAPPING
#define LUA_USE_DLOPEN
#endif
+#endif
/*
@@ LUA_C89_NUMBERS ensures that Lua uses the largest types available for