[cfe-dev] cindex.py & cmake builds of clang

Arnaud de Grandmaison arnaud.allarddegrandmaison at parrot.com
Mon May 7 04:30:18 PDT 2012

Hi all,

When building clang using cmake, libclang is actually named
'liblibclang' to avoid a file collision on Windows.

It seems to me the cindex.py should be able to cope with both flavours,
as it can not know for sure how the libclang library was generated.
The attached patch teach cindex.py to attempt to load 'liblibclang' in
case the loading of 'libclang' failed.


Arnaud de Grandmaison

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cindex.patch
Type: text/x-patch
Size: 1188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120507/0a6b41db/attachment.bin>

More information about the cfe-dev mailing list