diff -r a68e46d94261 -r f9b430645a18 common/autoconf/libraries.m4 --- a/common/autoconf/libraries.m4 Sat Jan 30 00:25:53 2016 +0530 +++ b/common/autoconf/libraries.m4 Sat Jan 30 10:25:15 2016 +0100 @@ -144,6 +144,10 @@ fi done + # Due to https://llvm.org/bugs/show_bug.cgi?id=16902, llvm does not + # always properly detect -ltinfo + LLVM_LIBS="${LLVM_LIBS} -ltinfo" + AC_SUBST(LLVM_CFLAGS) AC_SUBST(LLVM_LDFLAGS) AC_SUBST(LLVM_LIBS)