Standardize directory names

On some systems llvm-config includes -ledit as a system library to link with. Our application doesn't need -ledit and sometimes that library is not installed.  I filtered out that library in the makefile.

refs #63
This commit is contained in:
Alex Lin 2015-05-27 19:28:55 -05:00
parent d7d62cf590
commit 78f361bb71

View File

@ -42,7 +42,8 @@ ifeq ($(TRICK_HOST_TYPE),Linux)
CLANGLIBS += $(shell $(LLVM_HOME)/bin/$(LLVM_CONFIG) --libs) CLANGLIBS += $(shell $(LLVM_HOME)/bin/$(LLVM_CONFIG) --libs)
ifeq ($(CLANG_MINOR_GTEQ5),1) ifeq ($(CLANG_MINOR_GTEQ5),1)
CXXFLAGS += -std=c++11 CXXFLAGS += -std=c++11
CLANGLIBS += $(shell $(LLVM_HOME)/bin/$(LLVM_CONFIG) --system-libs) # Fedora 21 adds -ledit as a system lib, but it isn't installed, or required.
CLANGLIBS += $(filter-out -ledit,$(shell $(LLVM_HOME)/bin/$(LLVM_CONFIG) --system-libs))
endif endif
endif endif