mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
Merge pull request #23263 from bfredl/notapple
fix(cmake): restore previously undocumented workround, now documented
This commit is contained in:
commit
d89eb71040
@ -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