[tracker/disable-fts: 8/10] libtracker-db: only link to libtracker-fts when FTS enabled
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/disable-fts: 8/10] libtracker-db: only link to libtracker-fts when FTS enabled
- Date: Tue, 15 Jun 2010 12:42:46 +0000 (UTC)
commit 10ff5158feb24947d0b28a1f25233cd560024ef9
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]