aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-12 17:24:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-17 20:54:11 +0800
commit8d706a1e765e6bc74ecf7b3855df3fd03b92f62c (patch)
tree5c342273d471b9401b8577fc049d60aada186edc
parent81f91f746010d5b12697818b4f1f9f792ef27320 (diff)
downloadgsoc2013-empathy-8d706a1e765e6bc74ecf7b3855df3fd03b92f62c.tar
gsoc2013-empathy-8d706a1e765e6bc74ecf7b3855df3fd03b92f62c.tar.gz
gsoc2013-empathy-8d706a1e765e6bc74ecf7b3855df3fd03b92f62c.tar.bz2
gsoc2013-empathy-8d706a1e765e6bc74ecf7b3855df3fd03b92f62c.tar.lz
gsoc2013-empathy-8d706a1e765e6bc74ecf7b3855df3fd03b92f62c.tar.xz
gsoc2013-empathy-8d706a1e765e6bc74ecf7b3855df3fd03b92f62c.tar.zst
gsoc2013-empathy-8d706a1e765e6bc74ecf7b3855df3fd03b92f62c.zip
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
-rw-r--r--libempathy-gtk/Makefile.am10
1 files changed, 8 insertions, 2 deletions
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) \