summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
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()