File gupnp-linking.patch of Package gupnp-ui

From d428768f8054a68d2c19388454f4427ad2720910 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Thu, 25 Aug 2011 20:05:02 +0200
Subject: [PATCH] Tests: make sure to link the source against libgupnp-1.0 and
 other dependencies.

---
 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 09c37fd..125c8e9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,7 +3,7 @@ AM_CFLAGS = $(LIBGUPNP_UI_CFLAGS) $(GTHREAD_CFLAGS) -I$(top_srcdir)
 noinst_PROGRAMS = test-view
 
 test_view_SOURCES = test-view.c
-test_view_LDADD   = $(top_builddir)/libgupnp-ui/libgupnp-ui-1.0.la $(GTHREAD_LIBS)
+test_view_LDADD   = $(top_builddir)/libgupnp-ui/libgupnp-ui-1.0.la $(GTHREAD_LIBS) $(LIBGUPNP_UI_LIBS)
 
 CLEANFILES = $(BUILT_SOURCES)
 DISTCLEANFILES = $(BUILT_SOURCES)
-- 
1.7.6

openSUSE Build Service is sponsored by