projects/aports·blob master · refs

15 lines · 579 B

1This aids in allocating libclang.so from cindex.py. We do not install
2libclang.so without version into /usr/lib to allow installing multiple versions.
3Therefor, cindex.py should search for the versioned file instead.
4
5--- a/bindings/python/clang/cindex.py
6+++ b/bindings/python/clang/cindex.py
7@@ -4244,7 +4244,7 @@ class Config:
8 elif name == "Windows":
9 file = "libclang.dll"
10 else:
11- file = "libclang.so"
12+ file = "libclang.so.@@SOVER@@"
13
14 if Config.library_path:
15 file = Config.library_path + "/" + file