diff options
| author | ruki <[email protected]> | 2021-06-30 22:40:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-06-30 22:40:57 +0800 |
| commit | 88ab7bebc40bc91bbfd91b565be2236ebd8c5e72 (patch) | |
| tree | a7fb4c94856f5381a8fb1fb4142e48162879c28d /core/makefile | |
| parent | 46fd1844fc7a5456c4cd56bc2c251ed635d037ca (diff) | |
use system lua-cjson
Diffstat (limited to 'core/makefile')
| -rw-r--r-- | core/makefile | 1 |
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 |
