diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-03-30 18:43:05 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-03-30 18:43:05 +0000 |
commit | b4a19ee2422c66243410081c83cbd08f1505fc84 (patch) | |
tree | cc8890f582c22058666156e25916a21a0bab2702 /libexec/flua/Makefile | |
parent | 98029019b6cc5e7b19ebb87a59fec21b40b75d2b (diff) | |
download | src-b4a19ee2422c66243410081c83cbd08f1505fc84.tar.gz src-b4a19ee2422c66243410081c83cbd08f1505fc84.zip |
flua: enable readline bits, courtesy of libedit
This is a nicer experience when attempting to run ad-hoc lua bits in the
flua REPL.
PR: 245121
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=359453
Diffstat (limited to 'libexec/flua/Makefile')
-rw-r--r-- | libexec/flua/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile index a3652088b3b5..a85d1bac8a8c 100644 --- a/libexec/flua/Makefile +++ b/libexec/flua/Makefile @@ -24,4 +24,9 @@ SRCS+= lfs.c lposix.c CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC} CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" +# readline bits +CFLAGS+= -DLUA_USE_READLINE +CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit +LIBADD+= edit + .include <bsd.prog.mk> |