diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-08-14 02:22:19 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-08-14 02:22:19 +0000 |
commit | c2a2b4f3cf11e770892a524df637f671f5989719 (patch) | |
tree | ce55c3c96631e53957df08d95a11452c41f23c2e /libexec | |
parent | 2933cd31845432dbaac67917e6babc516d2a57d1 (diff) | |
download | src-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 'libexec')
-rw-r--r-- | libexec/flua/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile index 3efb75044b09..c852bd4fe499 100644 --- a/libexec/flua/Makefile +++ b/libexec/flua/Makefile @@ -30,6 +30,10 @@ CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" 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 @@ -38,6 +42,4 @@ SRCS+= lua_ucl.c CFLAGS+= -I${UCLSRC}/include -I${UCLSRC}/src -I${UCLSRC}/uthash LIBADD+= ucl -LDFLAGS+= -Wl,-E - .include <bsd.prog.mk> |