summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-03-30 18:43:05 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-03-30 18:43:05 +0000
commitb4a19ee2422c66243410081c83cbd08f1505fc84 (patch)
treecc8890f582c22058666156e25916a21a0bab2702 /libexec
parent98029019b6cc5e7b19ebb87a59fec21b40b75d2b (diff)
downloadsrc-test2-b4a19ee2422c66243410081c83cbd08f1505fc84.tar.gz
src-test2-b4a19ee2422c66243410081c83cbd08f1505fc84.zip
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/flua/Makefile5
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>