]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
flua: initial support for "require" in the base system
authorEd Maste <emaste@FreeBSD.org>
Thu, 13 Aug 2020 00:19:05 +0000 (00:19 +0000)
committerEd Maste <emaste@FreeBSD.org>
Thu, 13 Aug 2020 00:19:05 +0000 (00:19 +0000)
commitbceabe277e1286ec694e34c186a73e7bf2c9de4f
tree276546db60c85a0ed856eead7d110872c2357621
parent40db51b42fe39e335c1c4d5abcc7f1adf862356e
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