diff --git a/libtransistor.mk b/libtransistor.mk index f6aa4ca..862ed5d 100644 --- a/libtransistor.mk +++ b/libtransistor.mk @@ -14,6 +14,10 @@ else endif LLVM_BINDIR := $(shell $(LLVM_CONFIG) --bindir) +ifeq ($(LLVM_BINDIR),) + $(error llvm-config needs to be installed) +endif + LD := $(LLVM_BINDIR)/ld.lld CC := $(LLVM_BINDIR)/clang CXX := $(LLVM_BINDIR)/clang++