diff options
| author | ruki <[email protected]> | 2022-11-30 23:52:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-11-30 23:52:15 +0800 |
| commit | 45e9be5a1eaa6588633fee019cb0b14c3e9d6775 (patch) | |
| tree | 344a57e6d8f55b85b7f731d732b9a869cce78285 | |
| parent | d91572bb30918b83e85ced60272dedd92bc44322 (diff) | |
improve makefile
| -rw-r--r-- | core/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/makefile b/core/makefile index c7771307c..30056fe1f 100644 --- a/core/makefile +++ b/core/makefile @@ -280,7 +280,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 ) +base_LIBNAMES += $(shell if { cat detect/lua-cjson.c | $(CC) -xc - -llua5.1-cjson -llua -o /dev/null 2>/dev/null; }; then echo lua5.1-cjson; fi ) base_LIBNAMES += $(shell if { cat detect/sv.c | $(CC) -xc - -lsv -o /dev/null 2>/dev/null; }; then echo sv; 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 ) |
