From cb44535305f596bd757ffb58e5ae3cde6d3589fa Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 7 Dec 2017 22:46:25 +0800 Subject: improve log and add color attrs for curses --- core/xmake.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/xmake.lua') diff --git a/core/xmake.lua b/core/xmake.lua index edf65dbe7..f3f69f6ed 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -51,6 +51,9 @@ option_end() -- the curses option option("curses") add_links("curses") + if is_plat("linux") then + add_links("tinfo") + end add_cincludes("curses.h") add_defines("XM_CONFIG_API_HAVE_CURSES") option_end() -- cgit v1.3.1