| 1 | This aids in allocating libclang.so from cindex.py. We do not install |
| 2 | libclang.so without version into /usr/lib to allow installing multiple versions. |
| 3 | Therefor, cindex.py should search for the versioned file instead. |
| 4 | |
| 5 | |
| 6 | |
| 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 |