summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"