emfomy / isvd

Integrated Singular Value Decomposition (iSVD)
MIT License
2 stars 1 forks source link

Enhance shared library paths. #43

Open emfomy opened 5 years ago

emfomy commented 5 years ago

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'.