summaryrefslogtreecommitdiff
path: root/core/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/makefile')
-rw-r--r--core/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/makefile b/core/makefile
index a6b9a82e4..fb41dfc82 100644
--- a/core/makefile
+++ b/core/makefile
@@ -278,6 +278,7 @@ base_LIBNAMES :=
base_LIBNAMES += $(shell if { cat detect/curses.c | $(CC) -xc - -lcurses -ltinfo -o /dev/null 2>/dev/null; }; then echo curses tinfo; fi )
base_LIBNAMES += $(shell if { cat detect/readline.c | $(CC) -xc - -lreadline -o /dev/null 2>/dev/null; }; then echo readline; fi )
base_LIBNAMES += $(shell if { cat detect/tbox.c | $(CC) -xc - -ltbox -o /dev/null 2>/dev/null; }; then echo tbox; fi )
+base_LIBNAMES += $(shell if { cat detect/lua-cjson.c | $(CC) -xc - -llua5.1-cjson -lluajit-5.1 -o /dev/null 2>/dev/null; }; then echo lua5.1-cjson; fi )
ifeq ($(LUAJIT_SYSTEM),y)
base_LIBNAMES += $(shell if { cat detect/luajit.c | $(CC) -xc - $(shell pkg-config --libs --cflags luajit) -o /dev/null 2>/dev/null; }; then echo luajit-5.1; fi )
endif