diff options
author | Stephen Hines <srhines@google.com> | 2014-10-31 01:44:58 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-10-31 01:44:58 -0700 |
commit | b6426fc192e01338f9983c8c9943515af191afd6 (patch) | |
tree | 917e4d648770d282d30786b64e3c0d2e4d57c157 /llvm-host-build.mk | |
parent | a7f357148de9be178f55725575c70ce9a888d81c (diff) | |
download | external_llvm-b6426fc192e01338f9983c8c9943515af191afd6.zip external_llvm-b6426fc192e01338f9983c8c9943515af191afd6.tar.gz external_llvm-b6426fc192e01338f9983c8c9943515af191afd6.tar.bz2 |
Add color support for Clang!
Bug: 18187181
We were missing the HAVE_TERMINFO define, as well as proper linkage against
ncurses to enable this.
Change-Id: I985e1720fadbce4e20ec3608e7d5f0f67d1a74e9
Diffstat (limited to 'llvm-host-build.mk')
-rw-r--r-- | llvm-host-build.mk | 5 |
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 |