Install relative links to the soname.
authorAndre Noll <maan@systemlinux.org>
Mon, 11 Aug 2014 09:13:25 +0000 (11:13 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 11 Aug 2014 09:13:25 +0000 (11:13 +0200)
commit6f4d0dd1eea49f9edb4e40fe6b121deb442a7565
tree5782414a33c7868255435a44ed1ed8ac560b41da
parentaabf05500ba261ee978086094a69856eb2a0d3ef
Install relative links to the soname.

On make install, the library is installed to $(libdir)/$(realname)
(e.g. /usr/local/lib/libosl.so.0.1.2), and a link is created to
map $(linkername) to $(soname) (e.g. /usr/local/lib/libosl.so ->
/usr/local/lib/libosl.so.0).

This changes the ln command to create a relative link rather than an
absolute link. For example, /usr/local/lib/libosl.so now points to
libosl.so.0 without the leading directory. This shouldn't matter much
but it allows to move both files elsewhere without breaking the link.
Makefile