mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 18:26:44 +02:00
22 lines
1.3 KiB
Diff
22 lines
1.3 KiB
Diff
diff --git a/libunwind/src/CMakeLists.txt b/libunwind/src/CMakeLists.txt
|
|
index bb2ada9..478f5b8 100644
|
|
--- a/libunwind/src/CMakeLists.txt
|
|
+++ b/libunwind/src/CMakeLists.txt
|
|
@@ -148,7 +148,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL MSVC)
|
|
else()
|
|
target_compile_options(unwind_shared_objects PRIVATE -fno-rtti)
|
|
endif()
|
|
-target_link_libraries(unwind_shared_objects PRIVATE unwind-headers ${LIBUNWIND_LIBRARIES})
|
|
+target_link_libraries(unwind_shared_objects PRIVATE unwind-headers ${LIBUNWIND_LIBRARIES} -lssp_nonshared)
|
|
target_compile_options(unwind_shared_objects PUBLIC "${LIBUNWIND_ADDITIONAL_COMPILE_FLAGS}")
|
|
target_link_libraries(unwind_shared_objects PUBLIC "${LIBUNWIND_ADDITIONAL_LIBRARIES}")
|
|
set_target_properties(unwind_shared_objects
|
|
@@ -188,7 +188,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL MSVC)
|
|
else()
|
|
target_compile_options(unwind_static_objects PRIVATE -fno-rtti)
|
|
endif()
|
|
-target_link_libraries(unwind_static_objects PRIVATE unwind-headers ${LIBUNWIND_LIBRARIES})
|
|
+target_link_libraries(unwind_static_objects PRIVATE unwind-headers ${LIBUNWIND_LIBRARIES} -lssp_nonshared)
|
|
target_compile_options(unwind_static_objects PUBLIC "${LIBUNWIND_ADDITIONAL_COMPILE_FLAGS}")
|
|
target_link_libraries(unwind_static_objects PUBLIC "${LIBUNWIND_ADDITIONAL_LIBRARIES}")
|
|
set_target_properties(unwind_static_objects
|