summaryrefslogtreecommitdiff
path: root/core/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-30 22:45:42 +0800
committerruki <[email protected]>2021-06-30 22:45:42 +0800
commitd1ff269e0ed663f4def9dcc762aee23ddbf85064 (patch)
tree22c19928d742b613af6155315bd40ef4e2f2e793 /core/makefile
parent445ac813e8ee62935bae9c7efb2ad25ed26cc5c6 (diff)
use system sv
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 fb41dfc82..0bba754cd 100644
--- a/core/makefile
+++ b/core/makefile
@@ -279,6 +279,7 @@ base_LIBNAMES += $(shell if { cat detect/curses.c | $(CC) -xc - -lcurses -ltinf
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/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 )
endif