]> git.0d.be Git - empathy.git/commitdiff
Turn libempathy-gtk to a public lib
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 12 Jul 2012 09:24:44 +0000 (11:24 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 17 Jul 2012 12:54:11 +0000 (14:54 +0200)
We use "-release" versioning as it's not meant to be used out of Empathy's
tree.

https://bugzilla.gnome.org/show_bug.cgi?id=679786

libempathy-gtk/Makefile.am

index 071129bd17da874a9d4d2315f1c1237bb6fbe401..dd0aea61f3d524437dae54ea301a1deaefc23bdd 100644 (file)
@@ -25,8 +25,6 @@ BUILT_SOURCES =                                       \
        empathy-gtk-enum-types.h                        \
        empathy-gtk-enum-types.c
 
-noinst_LTLIBRARIES = libempathy-gtk.la
-
 libempathy_gtk_handwritten_source =                    \
        empathy-account-chooser.c               \
        empathy-account-selector-dialog.c               \
@@ -163,6 +161,14 @@ libempathy_gtk_headers =                   \
        empathy-webkit-utils.h                  \
        $(NULL)
 
+pkglib_LTLIBRARIES = libempathy-gtk.la
+
+# libempathy-gtk's API is not stable and will never be, so use -release to make the
+# SONAME of the plugin library change with every Empathy release.
+libempathy_gtk_la_LDFLAGS = \
+   -no-undefined \
+   -release $(VERSION) \
+   $(NULL)
 
 libempathy_gtk_la_SOURCES =                    \
        $(libempathy_gtk_handwritten_source)    \