neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit e51e524175505877f67578a36a579472ce59eecf
parent 669030ec08042e41d57f74adb4abb836c387930a
Author: bfredl <bjorn.linse@gmail.com>
Date:   Sat, 22 Apr 2023 14:17:30 +0200

fix(cmake): restore previously undocumented workround, now documented

Diffstat:
Msrc/nvim/CMakeLists.txt | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt @@ -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()