aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'llvm-host-build.mk')
-rw-r--r--llvm-host-build.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index 4e2898d..109bb2e 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -51,6 +51,11 @@ LOCAL_C_INCLUDES := \
external/libcxx/include \
$(LOCAL_C_INCLUDES)
+# Add on ncurses to have support for terminfo
+ifneq ($(HOST_OS),windows)
+LOCAL_LDLIBS += -lncurses
+endif
+
LOCAL_IS_HOST_MODULE := true
LOCAL_32_BIT_ONLY := true