[cfe-dev] libclang.so vs liblibclang.so wrt cindex.py
ofv at wanadoo.es
Sat Feb 5 12:06:21 PST 2011
bruce.r.stephens at gmail.com writes:
>>> cindex.py tries to load libclang.so (on GNU/Linux), and that fails for
>>> me because there isn't one. All I have is liblibclang.so. So what's
>>> going on?
>> Sounds like a build system bug. Are you building with configure/make
>> or CMake?
> Looks like a bug in tools/libclang/CMakeLists.txt. All other uses of
> add_clang_library list names without the "lib" prefix.
I'm pretty sure that the "lib" prefix was there for avoiding a collision
with the `clang' target used for building the clang executable.
I committed a fix.
More information about the cfe-dev