diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-23 12:01:26 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-03-09 13:05:29 +0000 |
commit | a167423acad1bbc41d764710fbc1de4347906da6 (patch) | |
tree | ac1a101f7bbe1d3d66b535826cd7a5d721c8ae0a /src | |
parent | 9a52bb20676a5290b3778cecb9d5bbc74a928db7 (diff) |
Build Wocky as a version-specific shared library
Reviewed-by: Olli Salli <olli.salli@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46417
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a0bf5d99a..3257b659c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -241,7 +241,13 @@ noinst_LTLIBRARIES = libgabble-convenience.la lib_LTLIBRARIES = libgabble-plugins.la -libgabble_plugins_la_LDFLAGS = -shared -no-undefined -avoid-version +# Gabble's plugin API is not stable yet (it can't be, since neither is Wocky), +# so use -release to make the SONAME of the plugin library change with every +# Gabble release. +libgabble_plugins_la_LDFLAGS = \ + -no-undefined \ + -release $(VERSION) \ + $(NULL) libgabble_plugins_la_LIBADD = \ $(ALL_LIBS) |