aboutsummaryrefslogtreecommitdiff
path: root/lib/liblua
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-08-13 23:13:05 +0000
committerEd Maste <emaste@FreeBSD.org>2020-08-13 23:13:05 +0000
commit3bd8419597b44dc3da2b1e6ffc2c7ee9cf4aa195 (patch)
tree1c440bddb6e3084c2b976736528963ad15b67fb5 /lib/liblua
parentb2e98945d72cf3d9edabd0d2209c2951d6ccceca (diff)
downloadsrc-3bd8419597b44dc3da2b1e6ffc2c7ee9cf4aa195.tar.gz
src-3bd8419597b44dc3da2b1e6ffc2c7ee9cf4aa195.zip
flua: support "require" for binary objects in the base system
Export symbols from flua, and enable dlopen. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26059
Notes
Notes: svn path=/head/; revision=364222
Diffstat (limited to 'lib/liblua')
-rw-r--r--lib/liblua/luaconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/liblua/luaconf.h b/lib/liblua/luaconf.h
index db6f3222f101..6226e8ab1e84 100644
--- a/lib/liblua/luaconf.h
+++ b/lib/liblua/luaconf.h
@@ -75,6 +75,7 @@
/* Local modifications: need io.popen */
#ifdef __FreeBSD__
#define LUA_USE_POSIX
+#define LUA_USE_DLOPEN
#endif
/*