From e51e524175505877f67578a36a579472ce59eecf Mon Sep 17 00:00:00 2001 From: bfredl Date: Sat, 22 Apr 2023 14:17:30 +0200 Subject: fix(cmake): restore previously undocumented workround, now documented --- src/nvim/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index efa6b3620a..bfdbe0c3b5 100755 --- 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() -- cgit