[gnome-settings-daemon] Updates: fix insufficient linking



commit f21934f0aebc22c669ff3dfce90cbc605fe9460d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 25 22:28:45 2011 -0500

    Updates: fix insufficient linking
    
    ldd tells me that libupdates.so uses g_udev_device_get_subsystem
    and notify_notification_show, so better link it against libgudev
    and libnotify.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ed09938..255cd93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -281,7 +281,7 @@ AC_ARG_ENABLE(packagekit,
 
 if test x$WANT_PACKAGEKIT = xyes ; then
        PK_REQUIRED_VERSION=0.6.4
-       PKG_CHECK_MODULES(PACKAGEKIT, glib-2.0 packagekit-glib2 >= $PK_REQUIRED_VERSION upower-glib >= 0.9.1,
+       PKG_CHECK_MODULES(PACKAGEKIT, glib-2.0 packagekit-glib2 >= $PK_REQUIRED_VERSION upower-glib >= 0.9.1 gudev-1.0 libnotify >= $LIBNOTIFY_REQUIRED_VERSION,
              [have_packagekit=true
               AC_DEFINE(HAVE_PACKAGEKIT, 1, [Define if PackageKit should be used])],
              [have_packagekit=false])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]