Merge pull request #1002 from dbabokin/tinfo
Addressing build issue coming from LLVM bug 16902
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2010-2014, Intel Corporation
|
||||
# Copyright (c) 2010-2015, Intel Corporation
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -124,6 +124,13 @@ endif
|
||||
# This 'ifneq' acts like if( !($(LLVM_VERSION) == LLVM_3_2 || $(LLVM_VERSION) == LLVM_3_3 || $(LLVM_VERSION) == LLVM_3_4))
|
||||
ifeq (,$(filter $(LLVM_VERSION), LLVM_3_2 LLVM_3_3 LLVM_3_4))
|
||||
ISPC_LIBS += -lcurses -lz
|
||||
# This is here because llvm-config fails to report dependency on tinfo library in some case.
|
||||
# This is described in LLVM bug 16902.
|
||||
ifeq ($(ARCH_OS),Linux)
|
||||
ifneq ($(shell ldconfig -p |grep -c option), 0)
|
||||
ISPC_LIBS += -ltinfo
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH_OS),Linux)
|
||||
|
||||
Reference in New Issue
Block a user