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 b40bcbe..8e5bcc0 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -49,6 +49,11 @@ LOCAL_C_INCLUDES := \
$(LLVM_ROOT_PATH)/host/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