--- tools/libclang/CIndexer.cpp.orig 2011-04-07 13:08:24.000000000 +0300 +++ tools/libclang/CIndexer.cpp 2011-04-07 13:11:52.224884642 +0300 @@ -80,6 +80,7 @@ std::string CIndexer::getClangResourcesP // We now have the CIndex directory, locate clang relative to it. LibClangPath.eraseComponent(); + LibClangPath.eraseComponent(); #endif LibClangPath.appendComponent("clang");