Fix build with LLVM top-of-tree (link libcurses)

This commit is contained in:
Matt Pharr
2013-08-10 11:22:43 -07:00
parent 7ab4c5391c
commit ea8591a85a

View File

@@ -79,6 +79,10 @@ CLANG_LIBS = -lclangFrontend -lclangDriver \
ISPC_LIBS=$(shell $(LLVM_CONFIG) --ldflags) $(CLANG_LIBS) $(LLVM_LIBS) \
-lpthread
ifeq ($(LLVM_VERSION),LLVM_3_4)
ISPC_LIBS += -lcurses
endif
ifeq ($(ARCH_OS),Linux)
ISPC_LIBS += -ldl
endif