Commit b300448
committed
[clang-tools-extra][Unittest] Fix wrong reference to CMake configuration variable
`@SHLIBDIR@` is replaced by CMake's configuration function, so it must be in `lit.site.cfg.py.in` but not `lit.cfg.py`.
`lit.cfg.py` must reference variables in generated `lit.site.cfg.py`.
We didn't notice this problem because it only affects Windows (including MinGW and Cygwin) that are configured with
either LLVM_LINK_LLVM_DYLIB=ON or BUILD_SHARED=ON.1 parent a99e32b commit b300448
File tree
2 files changed
+2
-2
lines changed- clang-tools-extra
- clangd/unittests
- include-cleaner/test/Unit
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments