No sure if I follow that but it seems to be much simpler. Regardless of the
way its compiled it installs library like libXYZ.so.1.2.3 (where 1.2.3 is
version) and makes symbolic links libXYZ.so.1 and libXYZ.so to it ( paste.ee
paste.ee/p/xe2Z3 ): -- libXYZ.so -> libXYZ.so.1 libXYZ.so.1 ->
libXYZ.so.1.2.3 libXYZ.so.1.2.3 -- It does not matter if linker or
compiler supports --soname or not because library general name (libXYZ.so, and
libXYZ.so.1) is linked to full name with version. It is done by install, not
by linker. That is what I meant.