Commit 8d2d2dfd authored by Carlos Garnacho's avatar Carlos Garnacho

build: Lookup stop-words dir from tracker-sparql pc file

In ninja dist, build is checked with untouched prefix (which means
/usr/local), most certainly we're not going to find the stop-words
dir there, which triggers errors on tests.

Look up the stop-words dir consistently with the other things we
find through the tracker-sparql-2.0.pc file.
parent b584d21c
......@@ -37,7 +37,7 @@ if get_option('tracker_core') == 'system'
# installed locations.
tracker_uninstalled_domain_rule = join_paths (tracker_sparql.get_pkgconfig_variable('domain_ontologies_dir'), 'default.rule')
tracker_uninstalled_nepomuk_ontologies_dir = join_paths(tracker_sparql.get_pkgconfig_variable('ontologies_dir'), 'nepomuk')
tracker_uninstalled_stop_words_dir = join_paths(get_option('prefix'), get_option('datadir'), 'tracker', 'stop-words', 'default.rule')
tracker_uninstalled_stop_words_dir = join_paths(tracker_sparql.get_pkgconfig_variable('datadir'), 'tracker', 'stop-words')
tracker_subproject = subproject('tracker',
default_options: [
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