[tracker] Fixes GB#614560 - Build problems in the gio file monitoring case.



commit e4c3637e07d6c550049a68352edc4b9cc25e9ccb
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Apr 6 14:54:13 2010 +0100

    Fixes GB#614560 - Build problems in the gio file monitoring case.
    
    Fix 2/2 - Don't link with libinotify if using GIO

 tests/tracker-miner-fs/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/tests/tracker-miner-fs/Makefile.am b/tests/tracker-miner-fs/Makefile.am
index 5849267..c3e559d 100644
--- a/tests/tracker-miner-fs/Makefile.am
+++ b/tests/tracker-miner-fs/Makefile.am
@@ -34,7 +34,6 @@ tracker_metadata_utils_LDADD =	                                        	\
 	$(top_builddir)/src/libtracker-common/libtracker-common.la 		\
 	$(top_builddir)/src/libtracker-client/libtracker-client- TRACKER_API_VERSION@.la \
 	$(top_builddir)/tests/common/libtracker-testcommon.la           	\
-	$(top_builddir)/src/libinotify/libinotify.la				\
 	$(DBUS_LIBS)								\
 	$(PANGO_LIBS)								\
 	$(GMODULE_LIBS)								\
@@ -42,3 +41,9 @@ tracker_metadata_utils_LDADD =	                                        	\
 	$(GIO_LIBS)								\
 	$(GCOV_LIBS)								\
 	$(GLIB2_LIBS)
+
+
+if HAVE_LIBINOTIFY
+tracker_metadata_utils_LDADD +=							\
+	$(top_builddir)/src/libinotify/libinotify.la
+endif #HAVE_LIBINOTIFY



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