From 8d706a1e765e6bc74ecf7b3855df3fd03b92f62c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 12 Jul 2012 11:24:44 +0200 Subject: Turn libempathy-gtk to a public lib 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 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am index 071129bd1..dd0aea61f 100644 --- a/libempathy-gtk/Makefile.am +++ b/libempathy-gtk/Makefile.am @@ -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) \ -- cgit v1.2.3