summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-17 22:22:55 +0800
committerruki <[email protected]>2022-12-17 22:22:55 +0800
commitb0cf84fded9e704a6db7b1229e7b30b08d253782 (patch)
treec7dacca2255dc8eae9cb14975d74bd6a7031475f
parente5a9e6fc821d4702c21ab5541323df750d2713cb (diff)
improve to check curses
-rwxr-xr-xcore/xmake.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/xmake.sh b/core/xmake.sh
index a1188737c..23a4c904d 100755
--- a/core/xmake.sh
+++ b/core/xmake.sh
@@ -41,6 +41,7 @@ option_end
# the curses option
option "curses"
add_links "curses"
+ add_cfuncs "initscr"
add_cincludes "curses.h"
add_defines "XM_CONFIG_API_HAVE_CURSES"
option_end