Skip to content

Commit d39cec6

Browse files
committed
auto merge of #9017 : vadimcn/rust/rustllvm-build, r=alexcrichton
After recent build directory reorg, building from scratch fails (at least on Windows), because it can't find llvm-config.h.
2 parents 9298af7 + d4ebe83 commit d39cec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/rustllvm.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define DEF_RUSTLLVM_TARGETS
1919
# llvm, but using it straight out of the build directory)
2020
ifdef CFG_WINDOWSY_$(1)
2121
LLVM_EXTRA_INCDIRS_$(1)= -iquote $(S)src/llvm/include \
22-
-iquote llvm/$(1)/include
22+
-iquote $$(CFG_LLVM_BUILD_DIR_$(1))/include
2323
endif
2424

2525
RUSTLLVM_OBJS_CS_$(1) := $$(addprefix rustllvm/, RustWrapper.cpp PassWrapper.cpp)

0 commit comments

Comments
 (0)