Reduce the scope of searching for libclang
+ Checks the /usr/ directory recursively Add example path to more common libclang1 + libclang-10-dev is not available on WSL
This commit is contained in:
@@ -22,7 +22,7 @@ I use the `libclang-10-dev` package for clang completion. You can use whichever
|
||||
|
||||
```bash
|
||||
sudo apt install libclang-10-dev
|
||||
printf "export LIBCLANG=\""$(find / -name libclang.so.1 2>/dev/null)"\"\n\n" >> .bash_aliases
|
||||
printf "export LIBCLANG=\""$(find /usr/ -name libclang.so.1 2>/dev/null)"\"\n\n" >> .bash_aliases
|
||||
echo "let g:clang_library_path=$LIBCLANG" >> ~/.vimrc
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user