neovim fails to build without bundled dependencies
When attempting to build neovim from source without using the bundled dependencies, ld is unable to find shared luv.so, Output from ld is cannot find -lluv: No such file or directory. Manually editing ninja.build and changing -lluv to the full path to luv.so or using -DLUV_LIBRARY:STRING=-Wl,/usr/lib64/lua/5.1/luv.so resolves the issue. I have reported this issue to the maintainers of neovim. However I was advised this is a cmake bug and to submit an issue. When I use the bundled dependency for luv that comes with neovim I am able to complete the build.
Cross-reported as neovim issue 23898.
Edited by Brad King