From bbda49af5b534d5320ccf8febc221159395cfbd6 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 23 Nov 2025 23:38:41 +0800 Subject: improve xmake.sh --- core/xmake.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/xmake.sh b/core/xmake.sh index 2928ab62d..0660a2ccb 100755 --- a/core/xmake.sh +++ b/core/xmake.sh @@ -48,8 +48,9 @@ option "curses" add_cfuncs "initscr" add_cincludes "curses.h" before_check "option_find_curses" - if ! is_host "solaris"; then - add_defines "XM_CONFIG_API_HAVE_CURSES" + add_defines "XM_CONFIG_API_HAVE_CURSES" + if is_host "solaris"; then + set_default "false" fi option_end -- cgit v1.3.1