mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
9b65a7e064
commit
b8ae43dd24
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user