]> git.0d.be Git - empathy.git/commitdiff
[nst] Link against libempathy
authorSjoerd Simons <sjoerd@luon.net>
Sun, 7 Oct 2012 09:21:00 +0000 (11:21 +0200)
committerSjoerd Simons <sjoerd@luon.net>
Sun, 7 Oct 2012 09:23:05 +0000 (11:23 +0200)
As the nautilus-sendto-plugin uses functions from libempathy it should
link directly against it otherwise the build fails when using
-Wl,--as-needed:

.libs/empathy-nautilus-sendto.o: In function
`dup_contact_from_individual':
/tmp/buildd/empathy-3.6.0.1/nautilus-sendto-plugin/empathy-nautilus-sendto.c:73:
undefined reference to `empathy_contact_dup_best_for_action'
/tmp/buildd/empathy-3.6.0.1/nautilus-sendto-plugin/empathy-nautilus-sendto.c:78:
undefined reference to `empathy_contact_can_do_action'

nautilus-sendto-plugin/Makefile.am

index 63f8c442bf136bb6af9b03122a51d9ec52d8e290..171ba2ed2c6fe70cd4a74757da52d3382fbcf727 100644 (file)
@@ -16,5 +16,5 @@ libnstempathy_la_SOURCES = empathy-nautilus-sendto.c
 libnstempathy_la_LDFLAGS = -module -avoid-version
 libnstempathy_la_LIBADD =                              \
        $(NST_LIBS)                                     \
+       $(top_builddir)/libempathy/libempathy.la \
        $(top_builddir)/libempathy-gtk/libempathy-gtk.la
-