Fix build with LLVM top-of-tree (link libcurses)
This commit is contained in:
4
Makefile
4
Makefile
@@ -79,6 +79,10 @@ CLANG_LIBS = -lclangFrontend -lclangDriver \
|
|||||||
ISPC_LIBS=$(shell $(LLVM_CONFIG) --ldflags) $(CLANG_LIBS) $(LLVM_LIBS) \
|
ISPC_LIBS=$(shell $(LLVM_CONFIG) --ldflags) $(CLANG_LIBS) $(LLVM_LIBS) \
|
||||||
-lpthread
|
-lpthread
|
||||||
|
|
||||||
|
ifeq ($(LLVM_VERSION),LLVM_3_4)
|
||||||
|
ISPC_LIBS += -lcurses
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH_OS),Linux)
|
ifeq ($(ARCH_OS),Linux)
|
||||||
ISPC_LIBS += -ldl
|
ISPC_LIBS += -ldl
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user