Commit 7e66da1
committed
fix: do not add LLVM libraries to dyld by default
On MacOS, the LLVM binaries could conflict with the system libraries. It's better to intentionally use the LLVM binaries.
Now, `LLVM_DYLD_LIBRARY_PATH` and `LLVM_LD_LIBRARY_PATH` are used instead of `DYLD_LIBRARY_PATH` and `LD_LIBRARY_PATH`.
In bashrc, after sourcing cpprc, you could
```shell
export LD_LIBRARY_PATH="$LLVM_LD_LIBRARY_PATH;$LD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="$LLVM_DYLD_LIBRARY_PATH;$DYLD_LIBRARY_PATH"
```1 parent f37a612 commit 7e66da1
File tree
5 files changed
+7
-7
lines changed- dist
- legacy
- modern
- src/llvm
5 files changed
+7
-7
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments