about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/llvm.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/llvm.mk b/mk/llvm.mk
index 77b6b4d96f3..12ccc55d4fa 100644
--- a/mk/llvm.mk
+++ b/mk/llvm.mk
@@ -14,7 +14,9 @@ LLVM_DEPS := $(S)/.gitmodules
 else
 
 # This is just a rough approximation of LLVM deps
-LLVM_DEPS=$(call rwildcard,$(CFG_LLVM_SRC_DIR),*cpp *hpp)
+LLVM_DEPS_SRC=$(call rwildcard,$(CFG_LLVM_SRC_DIR)/lib,*cpp *hpp)
+LLVM_DEPS_INC=$(call rwildcard,$(CFG_LLVM_SRC_DIR)/include,*cpp *hpp)
+LLVM_DEPS=$(LLVM_DEPS_SRC) $(LLVM_DEPS_INC)
 endif
 
 define DEF_LLVM_RULES