Closed moiri closed 4 years ago
The question is: How to link a dynamic library of a specific version without linking it to a general so file?
so
Fortunately, the answer is rather simple. Just use the complete library name prepended by a colon :.
:
E.g. the library file libsmxrts-0.1.so.0 can be linked with -l:libsmxrts-0.1.so.0
libsmxrts-0.1.so.0
-l:libsmxrts-0.1.so.0
The question is: How to link a dynamic library of a specific version without linking it to a general
so
file?