Commit 2aa5e2b4 authored by Jürg Billeter's avatar Jürg Billeter

Move tracker-fts.so from libdir to pkglibdir

parent 7fae774a
......@@ -3,6 +3,7 @@ include $(top_srcdir)/Makefile.decl
INCLUDES = \
-DSHAREDIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DPKGLIBDIR=\""$(libdir)/tracker-$(TRACKER_API_VERSION)"\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
$(WARN_CFLAGS) \
......
......@@ -128,7 +128,7 @@ tracker_db_interface_sqlite_constructor (GType type,
#ifdef HAVE_SQLITE_FTS
sqlite3_enable_load_extension (priv->db, 1);
sqlite3_load_extension (priv->db, "tracker-fts.so", NULL, &err_msg);
sqlite3_load_extension (priv->db, PKGLIBDIR "/tracker-fts.so", NULL, &err_msg);
if (err_msg) {
g_critical ("Could not load tracker-fts extension:'%s'", err_msg);
......
......@@ -10,7 +10,7 @@ INCLUDES = \
module_flags = -module -avoid-version -no-undefined
tracker_fts_modulesdir = $(libdir)
tracker_fts_modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)
tracker_fts_modules_LTLIBRARIES = tracker-fts.la
tracker_fts_la_SOURCES = \
......
......@@ -4,6 +4,7 @@ noinst_PROGRAMS = tracker-fts-test
INCLUDES = \
-DG_LOG_DOMAIN=\"Tracker\" \
-DPKGLIBDIR=\""$(libdir)/tracker-$(TRACKER_API_VERSION)"\" \
-I$(top_srcdir)/src \
$(WARN_CFLAGS) \
$(GLIB2_CFLAGS) \
......
......@@ -89,7 +89,7 @@ main (int argc, char **argv)
}
sqlite3_enable_load_extension (db, 1);
sqlite3_load_extension (db, "tracker-fts.so", NULL, &st);
sqlite3_load_extension (db, PKGLIBDIR "/tracker-fts.so", NULL, &st);
if (st) {
fprintf(stderr, "SQL error: %s\n", st);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment