Skip to content

Commit 6db7a5c

Browse files
committed
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++`.
1 parent a5c8ec4 commit 6db7a5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libunwind/src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ if (LIBUNWIND_ENABLE_SHARED)
127127
"${LIBUNWIND_COMPILE_FLAGS}"
128128
LINK_FLAGS
129129
"${LIBUNWIND_LINK_FLAGS}"
130+
LINKER_LANGUAGE
131+
C
130132
OUTPUT_NAME
131133
"unwind"
132134
VERSION

0 commit comments

Comments
 (0)