Blob Blame History Raw
From def097f5f374cc490ea0307eddd9f3894cfade03 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 10 Feb 2010 10:54:59 +0000
Subject: [PATCH] Explicitely require gstreamer-0.10 for linking

Otherwise we get this error:
/usr/bin/ld: main.o: undefined reference to symbol 'gst_init_get_option_group'
/usr/bin/ld: note: 'gst_init_get_option_group' is defined in DSO /usr/lib/libgstreamer-0.10.so.0 so try adding it to the linker command line
/usr/lib/libgstreamer-0.10.so.0: could not read symbols: Invalid operation
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 43d6452..01b4533 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1)
 PKG_CHECK_MODULES(UNIQUE, unique-1.0)
 PKG_CHECK_MODULES(POLKIT, polkit-gtk-1)
 PKG_CHECK_MODULES(GCONF, gconf-2.0)
-PKG_CHECK_MODULES(CHEESE, cheese-gtk > 2.29.6, have_cheese=yes, have_cheese=no)
+PKG_CHECK_MODULES(CHEESE, gstreamer-0.10 cheese-gtk > 2.29.6, have_cheese=yes, have_cheese=no)
 
 if test x$have_cheese = xyes ; then
 	AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
-- 
1.6.6