[rygel/rygel-0-16] Make sure plugins link to all libraries they need
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-16] Make sure plugins link to all libraries they need
- Date: Fri, 12 Oct 2012 09:39:57 +0000 (UTC)
commit 8ed308ab246b752b205c1447c1e72643ab25d400
Author: Andreas Henriksson <andreas fatal se>
Date: Sun Oct 7 02:19:06 2012 +0200
Make sure plugins link to all libraries they need
Previously these relied on the gupnp stack leaking linker
flags. Since the gupnp stack will be fixed up to not do
this in upcoming versions, this is a good idea to fix
to still be able to build/work on newer versions.
https://bugzilla.gnome.org/show_bug.cgi?id=685478
src/plugins/external/Makefile.am | 2 +-
src/plugins/media-export/Makefile.am | 1 +
src/plugins/mediathek/Makefile.am | 4 +++-
src/plugins/mpris/Makefile.am | 2 +-
4 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/external/Makefile.am b/src/plugins/external/Makefile.am
index 644e722..e9391b8 100644
--- a/src/plugins/external/Makefile.am
+++ b/src/plugins/external/Makefile.am
@@ -17,5 +17,5 @@ librygel_external_la_SOURCES = \
rygel-external-variant-util.vala
librygel_external_la_VALAFLAGS = $(RYGEL_COMMON_SERVER_PLUGIN_VALAFLAGS)
-librygel_external_la_LIBADD = $(RYGEL_COMMON_SERVER_LIBS)
+librygel_external_la_LIBADD = $(RYGEL_COMMON_SERVER_LIBS) $(LIBGIO_LIBS)
librygel_external_la_LDFLAGS = $(RYGEL_PLUGIN_LINKER_FLAGS)
diff --git a/src/plugins/media-export/Makefile.am b/src/plugins/media-export/Makefile.am
index 0fd3370..36d0b7f 100644
--- a/src/plugins/media-export/Makefile.am
+++ b/src/plugins/media-export/Makefile.am
@@ -48,6 +48,7 @@ librygel_media_export_la_VALAFLAGS = \
librygel_media_export_la_LIBADD = \
$(RYGEL_COMMON_SERVER_LIBS) \
+ $(LIBGIO_LIBS) \
$(LIBGUPNP_DLNA_LIBS) \
$(GSTREAMER_TAG_LIBS) \
$(GSTREAMER_APP_LIBS) \
diff --git a/src/plugins/mediathek/Makefile.am b/src/plugins/mediathek/Makefile.am
index 50ee615..aa6720c 100644
--- a/src/plugins/mediathek/Makefile.am
+++ b/src/plugins/mediathek/Makefile.am
@@ -15,5 +15,7 @@ librygel_mediathek_la_SOURCES = \
rygel-mediathek-soup-utils.vala
librygel_mediathek_la_VALAFLAGS = $(RYGEL_COMMON_SERVER_PLUGIN_VALAFLAGS)
-librygel_mediathek_la_LIBADD = $(RYGEL_COMMON_SERVER_LIBS)
+librygel_mediathek_la_LIBADD = $(RYGEL_COMMON_SERVER_LIBS) \
+ $(LIBGIO_LIBS) \
+ $(LIBSOUP_LIBS)
librygel_mediathek_la_LDFLAGS = $(RYGEL_PLUGIN_LINKER_FLAGS)
diff --git a/src/plugins/mpris/Makefile.am b/src/plugins/mpris/Makefile.am
index 4b609de..06b690b 100644
--- a/src/plugins/mpris/Makefile.am
+++ b/src/plugins/mpris/Makefile.am
@@ -11,5 +11,5 @@ librygel_mpris_la_SOURCES = \
rygel-mpris-interfaces.vala
librygel_mpris_la_VALAFLAGS = $(RYGEL_COMMON_RENDERER_PLUGIN_VALAFLAGS)
-librygel_mpris_la_LIBADD = $(RYGEL_COMMON_RENDERER_LIBS)
+librygel_mpris_la_LIBADD = $(RYGEL_COMMON_RENDERER_LIBS) $(LIBGIO_LIBS)
librygel_mpris_la_LDFLAGS = $(RYGEL_PLUGIN_LINKER_FLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]