diff options
author | Gregory Anders <greg@gpanders.com> | 2021-08-14 06:53:52 -0600 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2021-08-14 06:53:52 -0600 |
commit | f8eae29d396b7476baf8e1da9466d9768a7edbfa (patch) | |
tree | 1ba3944011d122a85cc548c8f0a6fddf2693474c /scripts/squash_typos.py | |
parent | 222cd43222c68ba5376b681d2a5fd7b90da138b0 (diff) | |
download | rneovim-f8eae29d396b7476baf8e1da9466d9768a7edbfa.tar.gz rneovim-f8eae29d396b7476baf8e1da9466d9768a7edbfa.tar.bz2 rneovim-f8eae29d396b7476baf8e1da9466d9768a7edbfa.zip |
build: prioritize statically built libluv in search
When libluv is built statically it appends an '_a' suffix to the library
name. This affects CMake's ability to find the bundled version of libluv
(which is built statically) when there is a dynamic version of the
library also built on the system, which does not have the '_a' suffix.
Prioritize searching for 'libluv_a' first before falling back to
'libluv'. This will ensure the bundled version of libluv is always found
first before any system versions of libluv. In cases where we are not
using bundled libraries, CMake will still safely fall through to finding
'libluv' since package managers do not typically provide static system
libraries.
Diffstat (limited to 'scripts/squash_typos.py')
0 files changed, 0 insertions, 0 deletions