summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-12-07 22:46:25 +0800
committerruki <[email protected]>2017-12-08 14:10:23 +0800
commitcb44535305f596bd757ffb58e5ae3cde6d3589fa (patch)
tree343f0ff9287b90204a6a000e0af1a7a1ed6c640b /core/xmake.lua
parentabe87994168053e4f420a8b7ab286c65b546eaae (diff)
improve log and add color attrs for curses
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua3
1 files changed, 3 insertions, 0 deletions
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()