extract-interface: when linking against libclang-cpp, check linking of LLVM libs
commit55159c9cd4e8e885a1798bce5b4c802f3028732e
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 24 Mar 2023 17:29:53 +0000 (24 18:29 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 26 Mar 2023 21:19:43 +0000 (26 23:19 +0200)
tree0e6dd049b5bd9f6b52e5b74b5006d83c94ea2607
parent89108f9197f8fdeafe6791e3272feaf998325143
extract-interface: when linking against libclang-cpp, check linking of LLVM libs

Apparently, the LLVM libraries may already be linked into libclang-cpp,
in which case linking against the LLVM libraries again may cause
errors about options being registered more than once.
Check whether the LLVM libraries should be linked in as well.
Fail if libclang-cpp cannot be used with or without the LLVM libraries.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
m4/ax_detect_clang.m4