libclang.so not found on OpenBSD (libclang versus clang)
Hi.
Trying to build the clang plugin (-Dwith_clang=true) on OpenBSD fails because of this:
src/plugins/clang/meson.build:53:0: ERROR: C library 'libclang' not found
If I replace:
cc.find_library('libclang', dirs: clang_libdir)
with
cc.find_library('clang', dirs: clang_libdir)
then libclang.so is properly found.
I am a bit confused at how and why 'libclang' would work on other OSes. There might be something missing on the OpenBSD side, I'm not sure. But for other libraries, the prefix ('lib') is always stripped when using find_library. I'd appreciate any input. Thanks :-)