diff options
| author | ruki <[email protected]> | 2017-12-05 00:28:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-12-08 14:10:23 +0800 |
| commit | 19f8192150b7be4322e77e54f201c580d3e9869d (patch) | |
| tree | 6e7d6cf9ff3133ac21e5eceb4632d4b37897fe3b /core/makefile | |
| parent | d4498bf11ec07012bc33475c9b700aca64c45c2f (diff) | |
register curses
Diffstat (limited to 'core/makefile')
| -rw-r--r-- | core/makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/makefile b/core/makefile index 4551ae0b1..478fca71f 100644 --- a/core/makefile +++ b/core/makefile @@ -250,7 +250,7 @@ endif # config base ifeq ($(PLAT),macosx) base_LIBPATH := /usr/local/lib -base_LIBNAMES := readline m dl pthread +base_LIBNAMES := curses readline m dl pthread endif ifeq ($(PLAT),windows) @@ -260,7 +260,10 @@ endif ifeq ($(PLAT),linux) base_LIBPATH := -base_LIBNAMES := $(shell if { cat detect/readline.c | $(CC) -xc - -lreadline -o /dev/null 2>/dev/null; }; then echo readline; fi ) m dl pthread +base_LIBNAMES := +base_LIBNAMES += $(shell if { cat detect/curses.c | $(CC) -xc - -lcurses -o /dev/null 2>/dev/null; }; then echo curses; fi ) +base_LIBNAMES += $(shell if { cat detect/readline.c | $(CC) -xc - -lreadline -o /dev/null 2>/dev/null; }; then echo readline; fi ) +base_LIBNAMES += m dl pthread endif # check jit compiler |
