summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-23 23:19:22 +0800
committerruki <[email protected]>2025-11-23 23:20:42 +0800
commite301ec49b76d70c06817227a2f386b8151e4a898 (patch)
tree0a74399bc9b46cd3d2f239aa3f842c969df7ee4f
parent218d442b6fae448a9a2f9cbdd57b8df1db295a14 (diff)
disable curses for solaris
-rw-r--r--core/xmake.lua2
-rwxr-xr-xcore/xmake.sh3
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"