emfomy/isvd

Enhance shared library paths.

emfomy opened this issue · 0 comments

Compile using -Wl,-rpath='$ORIGIN' for all shared libraries. Therefore, all libraries will find shared libraries in the same folder.

Note that the executables should compile using -Wl,-rpath='$ORIGIN:$ORIGIN/lib:$ORIGIN/../lib'.