mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Merge pull request #23263 from bfredl/notapple
fix(cmake): restore previously undocumented workround, now documented
This commit is contained in:
@@ -197,7 +197,8 @@ endif()
|
|||||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
||||||
target_link_libraries(nvim PRIVATE -Wl,--no-undefined -lsocket)
|
target_link_libraries(nvim PRIVATE -Wl,--no-undefined -lsocket)
|
||||||
else()
|
# workaround for clang-11 on macOS, supported on later versions:
|
||||||
|
elseif(NOT APPLE)
|
||||||
target_link_libraries(nvim PRIVATE -Wl,--no-undefined)
|
target_link_libraries(nvim PRIVATE -Wl,--no-undefined)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user