diff options
| author | ruki <[email protected]> | 2025-11-23 23:38:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-23 23:38:41 +0800 |
| commit | bbda49af5b534d5320ccf8febc221159395cfbd6 (patch) | |
| tree | cb4ca2599c068d6a9998118a7b02d110226cee1c | |
| parent | 8a9a531e1bb8a2196c8cd066f46b32d9bf38048a (diff) | |
improve xmake.sh
| -rwxr-xr-x | core/xmake.sh | 5 |
1 files 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 |
