mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
fix: skip libutil on SunOS
libutil is not available on Solaris variants, even on Solaris 11 where forkpty is available.
This commit is contained in:
@@ -468,9 +468,11 @@ list(APPEND NVIM_LINK_LIBRARIES
|
||||
|
||||
if(UNIX)
|
||||
list(APPEND NVIM_LINK_LIBRARIES
|
||||
m
|
||||
util
|
||||
)
|
||||
m)
|
||||
if (NOT CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
||||
list(APPEND NVIM_LINK_LIBRARIES
|
||||
util)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(NVIM_EXEC_LINK_LIBRARIES ${NVIM_LINK_LIBRARIES} ${LUA_PREFERRED_LIBRARIES})
|
||||
|
Reference in New Issue
Block a user