[accounts-dialog] Fix compile when using a linker that defaults to --no-as-needed (needed for F13)



commit e279b1305c82540313460b6a80ba65d36d85200f
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jan 22 14:52:42 2010 +0000

    Fix compile when using a linker that defaults to --no-as-needed (needed for F13)

 configure.ac    |    2 +-
 src/Makefile.am |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 521fa18..0aae44f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,7 @@ if test x"$APG" = xno; then
 fi
 AC_SUBST(APG)
 
-PKG_CHECK_MODULES(GLIB, glib-2.0)
+PKG_CHECK_MODULES(GLIB, glib-2.0 gthread-2.0)
 PKG_CHECK_MODULES(GIO, gio-2.0)
 PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0)
 PKG_CHECK_MODULES(GTK, gtk+-2.0)
diff --git a/src/Makefile.am b/src/Makefile.am
index 5a40447..7b4b298 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,7 @@ INCLUDES = \
 	-DLIBLOCALEDIR=\""$(prefix)/lib/locale"\"       \
 	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
 	-DUM_PIXMAP_DIR=\""$(pkgdatadir)/pixmaps"\"	\
-	$(DBUS_GLIB_CFLAGS)				\
+	$(GLIB_CFLAGS)					\
 	$(GTK_CFLAGS)					\
 	$(GNOME_DESKTOP_CFLAGS) 			\
 	$(UNIQUE_CFLAGS)				\
@@ -54,7 +54,7 @@ accounts_dialog_SOURCES = \
 	main.c
 
 accounts_dialog_LDADD = 		\
-	$(DBUS_GLIB_LIBS)		\
+	$(GLIB_LIBS)			\
 	$(GTK_LIBS)			\
 	$(GNOME_DESKTOP_LIBS)		\
 	$(UNIQUE_LIBS)			\



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