From e301ec49b76d70c06817227a2f386b8151e4a898 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 23 Nov 2025 23:19:22 +0800 Subject: disable curses for solaris --- core/xmake.lua | 2 +- core/xmake.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/xmake.lua b/core/xmake.lua index 28ac10af4..24f5b9304 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -103,7 +103,7 @@ option("curses") end end) after_check(function (option) - if option:dep("cosmocc"):enabled() then + if option:dep("cosmocc"):enabled() or is_plat("solaris") then option:enable(false) end end) diff --git a/core/xmake.sh b/core/xmake.sh index 9b2dd509a..3a691028c 100755 --- a/core/xmake.sh +++ b/core/xmake.sh @@ -52,6 +52,9 @@ option "curses" option_end option_find_curses() { + if is_plat "solaris"; then + return + fi local ncurses="ncurses" if is_plat "mingw"; then ncurses="ncursesw" -- cgit v1.3.1