summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcore/xmake.sh5
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