[gnome-settings-daemon] plugins: make sure to link to libgsd-session if we use it



commit 8a81f08e149c69eefecf35d9e25fdcdee790c4f0
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jan 24 10:38:49 2012 -0500

    plugins: make sure to link to libgsd-session if we use it
    
    Make sure plugins that use libgsd-session link to it, to avoid symbol
    lookup failures at module load time.

 plugins/color/Makefile.am |    1 +
 plugins/power/Makefile.am |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/color/Makefile.am b/plugins/color/Makefile.am
index 6b8707a..980624c 100644
--- a/plugins/color/Makefile.am
+++ b/plugins/color/Makefile.am
@@ -33,6 +33,7 @@ libcolor_la_LDFLAGS = 			\
 	$(GSD_PLUGIN_LDFLAGS)
 
 libcolor_la_LIBADD  = 			\
+	$(top_builddir)/gnome-settings-daemon/libgsd-session.la	\
 	$(COLOR_LIBS)			\
 	$(LCMS_LIBS)			\
 	$(SETTINGS_PLUGIN_LIBS)		\
diff --git a/plugins/power/Makefile.am b/plugins/power/Makefile.am
index c6cb7a4..1bdad11 100644
--- a/plugins/power/Makefile.am
+++ b/plugins/power/Makefile.am
@@ -38,6 +38,7 @@ libpower_la_LDFLAGS = 					\
 
 libpower_la_LIBADD  = 					\
 	$(top_builddir)/plugins/common/libcommon.la	\
+	$(top_builddir)/gnome-settings-daemon/libgsd-session.la \
 	$(UPOWER_LIBS)					\
 	$(GNOME_DESKTOP_LIBS)				\
 	$(KEYRING_LIBS)					\



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