Fixed Linux build error in gtest
authorVince Harron <vharron@google.com>
Mon, 19 Jan 2015 17:31:22 +0000 (17:31 +0000)
committerVince Harron <vharron@google.com>
Mon, 19 Jan 2015 17:31:22 +0000 (17:31 +0000)
llvm-svn: 226471

lldb/gtest/unittest/Host/Makefile

index 41411e7..f541dd7 100644 (file)
@@ -27,6 +27,10 @@ CXX_SOURCES := $(CXX_SOURCES) \
     $(LEVEL)/../../source/Host/common/Mutex.cpp
 endif
 
+ifeq ($(OS),Linux)
+    LD_EXTRAS := -lncurses -ldl
+endif
+
 MAKE_DSYM := NO
 
 include $(LEVEL)/Makefile.rules