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
This commit is contained in:
parent
98029019b6
commit
b4a19ee242
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user