mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(cmake): restore previously undocumented workround, now documented
This commit is contained in:
parent
669030ec08
commit
e51e524175
@ -197,7 +197,8 @@ endif()
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
||||
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)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user