You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cmake] Fix libneko.so loading error when installing to /usr/local (#271)
* [cmake] Add install library path to rpath
This way rpath is correctly set by default, avoiding errors like:
`libneko.so.2: cannot open shared object file` when installing to
/usr/local/
* [cmake] Don't set LD_LIBRARY_PATH during tests
If rpath is set correctly then this is not necessary
* [cmake] Clean up rpath settings
Only build with install path if RELOCATABLE is on, otherwise we can stick to
the default build rpath.
We were setting these options to their default values:
CMAKE_MACOS_RPATH, CMAKE_SKIP_BUILD_RPATH, CMAKE_SKIP_INSTALL_RPATH
0 commit comments