2 ms·
This is possible on Linux using gcc -Wl,-rpath,'$ORIGIN/../lib' See http://man7.org/linux/man-pages/man8/ld.so.8.html http://man7.org/linux/man-pages/man8/l
by sigjuice 9y ago
This is possible on Linux using
gcc -Wl,-rpath,'$ORIGIN/../lib'
See http://man7.org/linux/man-pages/man8/ld.so.8.html http://man7.org/linux/man-pages/man8/ld.so.8.html
- jwilk 9y agoThis should work also on other ELF-based systems.