[tracker/rss-enclosures] libtracker-db: only link to libtracker-fts when FTS enabled



commit cee1583346054ad07bb62064f4f4af2ef5aa350c
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Jun 15 12:45:18 2010 +0200

    libtracker-db: only link to libtracker-fts when FTS enabled

 src/libtracker-db/Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-db/Makefile.am b/src/libtracker-db/Makefile.am
index 3376aaf..1f6452f 100644
--- a/src/libtracker-db/Makefile.am
+++ b/src/libtracker-db/Makefile.am
@@ -19,7 +19,7 @@ libtracker_db_la_SOURCES = 						\
 	tracker-db-interface.c						\
 	tracker-db-interface-sqlite.c					\
 	tracker-db-manager.c						\
-	tracker-db-journal.c						
+	tracker-db-journal.c
 
 noinst_HEADERS =							\
 	tracker-db.h							\
@@ -31,7 +31,6 @@ noinst_HEADERS =							\
 
 libtracker_db_la_LIBADD = 						\
 	$(top_builddir)/src/libtracker-common/libtracker-common.la	\
-	$(top_builddir)/src/libtracker-fts/libtracker-fts.la		\
 	$(SQLITE3_LIBS)							\
 	$(DBUS_LIBS)							\
 	$(GCOV_LIBS)							\
@@ -39,5 +38,10 @@ libtracker_db_la_LIBADD = 						\
 	-lz								\
 	-lm
 
+if HAVE_TRACKER_FTS
+libtracker_db_la_LIBADD += 						\
+	$(top_builddir)/src/libtracker-fts/libtracker-fts.la
+endif
+
 EXTRA_DIST = libtracker-db.vapi
 



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