Shared library numbering confusion
Peter Eisentraut <[email protected]> Tue, 7 Dec 2004 00:24:16 +0100
| Newsgroups | gmane.comp.db.rekall.devel |
|---|---|
| Message-ID | <[email protected]> |
libkbase_wizard isn't a plugin, therefore
libkbase_wizard_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) \
-version-info 0:7:0
in libs/wizard/Makefile.am should be changed to
libkbase_wizard_la_LDFLAGS = $(all_libraries) \
-version-info 0:7:0
This will make sure that -version-info is actually used and the library
gets a soname, as is expected of shared libraries that are not plugins.
On the other hand, libkbase_driver_mysql is a plugin; therefore the
following should be done in db/mysql/Makefile.am so that it does not
get a useless version number:
libkbase_driver_mysql_la_LDFLAGS = \
+ -avoid-version -module -no-undefined \
-L$(MYSQL_LIBDIR)