[telepathy-gabble/master] Use -export-dynamic to expose symbols to plugins

Will Thompson will.thompson at collabora.co.uk
Tue Nov 17 07:02:35 PST 2009


I'm not sure why this is needed: the flags from gmodule's pkg-config
file include this...
---
 src/Makefile.am           |    2 ++
 tests/twisted/Makefile.am |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 1e86681..d315079 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -167,6 +167,8 @@ check-local: check-coding-style
 
 telepathy_gabble_LDADD = libgabble-convenience.la
 
+telepathy_gabble_LDFLAGS = -export-dynamic
+
 noinst_LTLIBRARIES = libgabble-convenience.la
 
 AM_CFLAGS = $(ERROR_CFLAGS) -I$(top_srcdir) -I$(top_builddir) \
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index d9802ca..d4ed5c3 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -224,6 +224,8 @@ telepathy_gabble_debug_LDADD = \
     $(top_builddir)/lib/gibber/libgibber.la \
     $(ALL_LIBS)
 
+telepathy_gabble_debug_LDFLAGS = -export-dynamic
+
 AM_CFLAGS = $(ERROR_CFLAGS) @DBUS_CFLAGS@ @GLIB_CFLAGS@ @WOCKY_CFLAGS@ \
     @TP_GLIB_CFLAGS@ \
     -I $(top_srcdir)/src -I $(top_builddir)/src \
-- 
1.5.6.5




More information about the telepathy-commits mailing list