[llvm-bugs] [Bug 42029] New: LLVM vcpkg build error due to wrong ld linkage in CMakeLists in libclang

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 27 01:57:26 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42029

            Bug ID: 42029
           Summary: LLVM vcpkg build error due to wrong ld linkage in
                    CMakeLists in libclang
           Product: new-bugs
           Version: 7.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: neumann at imt.uni-luebeck.de
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

see https://github.com/microsoft/vcpkg/issues/6584

find_library(DL_LIBRARY_PATH dl)
if (DL_LIBRARY_PATH)
  list(APPEND LIBS dl)
endif()

should probably be 
list(APPEND LIBS "${DL_LIBRARY_PATH}")

-- 
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/20190527/75c4df8a/attachment-0001.html>


More information about the llvm-bugs mailing list