moiri / streamix

Root repository for the Streamix project
0 stars 1 forks source link

Linking a dynamic library of a specific version #13

Closed moiri closed 4 years ago

moiri commented 4 years ago

The question is: How to link a dynamic library of a specific version without linking it to a general so file?

moiri commented 4 years ago

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