Commit 6db7a5cd authored by Saleem Abdulrasool's avatar Saleem Abdulrasool
Browse files

build: explicitly set the linker language for unwind

The unwinder should not depend on libc++.  In fact, we do not end up
with a link against libc++ as we do not have a dependency on libc++ at
runtime.  This ensures that we link with `clang` rather than `clang++`.
parent a5c8ec4b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -127,6 +127,8 @@ if (LIBUNWIND_ENABLE_SHARED)
                            "${LIBUNWIND_COMPILE_FLAGS}"
                          LINK_FLAGS
                            "${LIBUNWIND_LINK_FLAGS}"
                          LINKER_LANGUAGE
                            C
                          OUTPUT_NAME
                            "unwind"
                          VERSION