From b114caf3b2b3747ee8d60957e479f5de1336a9af Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Sat, 30 Jun 2018 16:00:59 +0200 Subject: meson: Fix bundled FTS module The sqlite3_fts5_init() symbol was being discarded as nothing linked against it (it's loaded dynamically at runtime instead). Using link_whole instead of link_with fixes that. --- src/libtracker-fts/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libtracker-fts/meson.build') diff --git a/src/libtracker-fts/meson.build b/src/libtracker-fts/meson.build index b66a05b41..cbfe553a1 100644 --- a/src/libtracker-fts/meson.build +++ b/src/libtracker-fts/meson.build @@ -16,7 +16,9 @@ libtracker_fts = static_library('tracker-fts', ) tracker_fts_dep = declare_dependency( - link_with: libtracker_fts, + # We need link_whole instead of link_with here so that sqlite3_fts5_init() + # doesn't get discarded. + link_whole: libtracker_fts, dependencies: libtracker_fts_dependencies ) -- cgit v1.2.1