diff options
| author | ruki <[email protected]> | 2025-11-23 23:19:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-23 23:20:42 +0800 |
| commit | e301ec49b76d70c06817227a2f386b8151e4a898 (patch) | |
| tree | 0a74399bc9b46cd3d2f239aa3f842c969df7ee4f | |
| parent | 218d442b6fae448a9a2f9cbdd57b8df1db295a14 (diff) | |
disable curses for solaris
| -rw-r--r-- | core/xmake.lua | 2 | ||||
| -rwxr-xr-x | core/xmake.sh | 3 |
2 files changed, 4 insertions, 1 deletions
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" |
