mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
prefer linking to static libuv
Explicitly try to find the static libuv library first. This might be considered a hack and if it weren't a single-use module it might be preferable to control static versus shared preferences with a configuration variable.
This commit is contained in:
parent
e94f933f39
commit
c3ff8cbb7c
@ -12,9 +12,9 @@ find_path(LibUV_INCLUDE_DIR
|
|||||||
NAMES uv.h
|
NAMES uv.h
|
||||||
)
|
)
|
||||||
|
|
||||||
# The library itself
|
# The library itself. Note that we prefer the static version.
|
||||||
find_library(LibUV_LIBRARY
|
find_library(LibUV_LIBRARY
|
||||||
NAMES uv
|
NAMES libuv.a uv
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set the include dir variables and the libraries and let libfind_process do the rest.
|
# Set the include dir variables and the libraries and let libfind_process do the rest.
|
||||||
|
Loading…
Reference in New Issue
Block a user