aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-13 10:34:03 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-13 10:34:03 +0100
commitfd8370581ef9a4b75400945ee4eb50fe94493d30 (patch)
tree179ce2279466e9f84a01df7bc6b4029c9267d74f /vis-lua.c
parentfceff74eae7daf2026a515448f62eb99ba1b83d6 (diff)
downloadvis-fd8370581ef9a4b75400945ee4eb50fe94493d30.tar.gz
vis-fd8370581ef9a4b75400945ee4eb50fe94493d30.tar.xz
build: add configure options for built-in lpeg support
Diffstat (limited to 'vis-lua.c')
-rw-r--r--vis-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-lua.c b/vis-lua.c
index 95cfe6e..301d719 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -1889,7 +1889,7 @@ void vis_lua_init(Vis *vis) {
vis->lua = L;
luaL_openlibs(L);
-#if CONFIG_BUILTIN_LPEG
+#if CONFIG_LPEG
extern int luaopen_lpeg(lua_State *L);
lua_getglobal(L, "package");
lua_getfield(L, -1, "preload");