mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
14 lines
364 B
Diff
14 lines
364 B
Diff
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -760,6 +760,10 @@ function(cxx_link_system_libraries targe
|
||
|
target_link_libraries(${target} PRIVATE atomic)
|
||
|
endif()
|
||
|
|
||
|
+ if (LIBCXX_HAS_MUSL_LIBC)
|
||
|
+ target_link_libraries(${target} PRIVATE ssp_nonshared)
|
||
|
+ endif()
|
||
|
+
|
||
|
if (MINGW)
|
||
|
target_link_libraries(${target} PRIVATE "${MINGW_LIBRARIES}")
|
||
|
endif()
|