]> git.sur5r.net Git - bacula/bacula/commit
Add support for soname setting in libtool.
authorMarco van Wieringen <mvw@planets.elm.net>
Tue, 10 Jan 2012 12:33:55 +0000 (13:33 +0100)
committerMarco van Wieringen <mvw@planets.elm.net>
Tue, 10 Jan 2012 12:43:11 +0000 (13:43 +0100)
commit18e59a491633dfde4f61b3108dc2f9749cdee99b
treea7713527173ad767703a444c5085c8decde28116
parent536cfbcd130c6af8073a5d587a7bf828ab1d9145
Add support for soname setting in libtool.

We allow to specify the SONAME in a library so we can create
a libbaccats-<backend>-<version>.so which has an internal
soname of libbaccats-<version>.so This way each catalog
backend is a direct replacement of the dummy libbaccats
library and copying and linking works without the ldconfig
trying to be to smart. When no symlink exists ldconfig
will create one (it might point to the wrong one however)
but if you only install one it cannot go wrong. Also a
nice side effect is that if we create the symlink ldconfig
now doesn't replace it with a new one as it thinks its a
stale or wrong link.

install-default-backend is updated to create the symlink
in the same way that ldconfig does and point to the
libbaccats-<backend>.so which points to
libbaccats-<backend>-<version>.so
bacula/autoconf/ltmain.sh
bacula/src/cats/Makefile.in
bacula/src/cats/install-default-backend.in