[llvm-bugs] [Bug 41296] Add -ldl when linking libclang.so
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 22 00:28:05 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41296
Fangrui Song <i at maskray.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |i at maskray.me
Resolution|--- |FIXED
--- Comment #1 from Fangrui Song <i at maskray.me> ---
Fixed by rC226609
find_library(DL_LIBRARY_PATH dl)
if (DL_LIBRARY_PATH)
list(APPEND LIBS dl)
endif()
A better approach is probably to refactor CIndexer::getClangResourcesPath to
use getMainExecutable in LLVMSupport
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190722/ba32bddd/attachment.html>
More information about the llvm-bugs
mailing list