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

            Bug ID: 27876
           Summary: No way to specify the location of libunwind's library
                    file
           Product: libc++abi
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedb...@nondot.org
          Reporter: zhanglei.ap...@gmail.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com
    Classification: Unclassified

Created attachment 16416
  --> https://llvm.org/bugs/attachment.cgi?id=16416&action=edit
patch to cmake script

This issue is observed while doing out-of-tree build on Linux.

There is a cmake variable LIBCXXABI_LIBUNWIND_PATH for specifying the path of
libunwind's headers, but not any for the path of libunwind's library file. As a
result, you have to include this path via CMAKE_SHARED_LINKER_FLAGS or similar.

This could be trivially fixed by introducing a new variable
LIBCXXABI_LIBUNWIND_LIBRARY_PATH. A possible fix is attached.


Lei

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to