aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Wareham <rjw57@cam.ac.uk>2014-02-25 00:00:10 +0000
committerThiago de Arruda <tpadilha84@gmail.com>2014-02-26 07:09:11 -0300
commitc3ff8cbb7cfe715604099809d0f5f2de84514717 (patch)
tree5ae8556d2355d073ebde78067f6a9248c6ea24f3
parente94f933f396e0f08243994679977602d341b117a (diff)
downloadrneovim-c3ff8cbb7cfe715604099809d0f5f2de84514717.tar.gz
rneovim-c3ff8cbb7cfe715604099809d0f5f2de84514717.tar.bz2
rneovim-c3ff8cbb7cfe715604099809d0f5f2de84514717.zip
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.
-rw-r--r--cmake/FindLibUV.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindLibUV.cmake b/cmake/FindLibUV.cmake
index 3aeb01195e..d0cedfb37d 100644
--- a/cmake/FindLibUV.cmake
+++ b/cmake/FindLibUV.cmake
@@ -12,9 +12,9 @@ find_path(LibUV_INCLUDE_DIR
NAMES uv.h
)
-# The library itself
+# The library itself. Note that we prefer the static version.
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.