]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
flua: initial support for "require" in the base system
authoremaste <emaste@FreeBSD.org>
Thu, 13 Aug 2020 00:19:05 +0000 (00:19 +0000)
committeremaste <emaste@FreeBSD.org>
Thu, 13 Aug 2020 00:19:05 +0000 (00:19 +0000)
commit70b298c4a27ba4cd800fecc188477266fbc0ab60
tree276546db60c85a0ed856eead7d110872c2357621
parent87ef19995065c8444b1ca207dc8c40dd6347f8f5
flua: initial support for "require" in the base system

Use /usr not /usr/local for base system components.

Use /usr/lib/flua and /usr/share/flua (not lua) for consistency and to
avoid the possibility that other software accidentally finds our base
system modules.

Also drop the version from the path, as flua represents an unspecified
lua version that corresponds to the FreeBSD version it comes with.

LUA_USE_DLOPEN is not yet enabled because some additional changes are
needed wrt symbol visibility.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24605
etc/mtree/BSD.usr.dist
lib/liblua/luaconf.h