diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-08-14 02:40:17 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-08-14 02:40:17 +0000 |
commit | 967fbfd9e2b7a015d5cba1491badcdf9044b28b9 (patch) | |
tree | 02738dd3789757282d4f249a6c793ccc4775918d /libexec | |
parent | c2a2b4f3cf11e770892a524df637f671f5989719 (diff) | |
download | src-test-967fbfd9e2b7a015d5cba1491badcdf9044b28b9.tar.gz src-test-967fbfd9e2b7a015d5cba1491badcdf9044b28b9.zip |
Properly disable LUA_USE_DLOPEN for bootstrap flua
flua does have some specific bits that will include luaconf.h, but the
definition of LUA_USE_DLOPEN for those won't matter. This belongs in liblua
instead.
To expand on my previous commit, which was a little sparse with details,
it's not really safe to allow LUA_USE_DLOPEN with host lib paths being used.
The host system could have an entirely different lua version and this could
cause us to crash and burn.
If we want to revive this later, we need to make sure to define c module
paths inside OBJDIR that are compiled against whatever version we've
bootstrapped.
Pointy hat: kevans
Notes
Notes:
svn path=/head/; revision=364227
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/flua/Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile index c852bd4fe499e..cfa1f2460f5f6 100644 --- a/libexec/flua/Makefile +++ b/libexec/flua/Makefile @@ -31,9 +31,6 @@ CFLAGS+= -DLUA_USE_READLINE CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit LIBADD+= edit LDFLAGS+= -Wl,-E -.else -# We don't support dynamic libs on bootstrap builds. -CFLAGS+= -DBOOTSTRAPPING .endif UCLSRC?= ${SRCTOP}/contrib/libucl |