neovim

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

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

Merge pull request #23263 from bfredl/notapple

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()