Commit a452173e authored by Carlos Garnacho's avatar Carlos Garnacho

build: Fix build order with libtracker-sparql generated headers

Both libtracker-fts and libtracker-data end up requiring includes
from tracker-sparql.h, but we have to generate tracker-generated.h
first.

It's pretty terrible to add intermediate targets as a dependency
outside the libtracker-sparql directory, but it doesn't seem we
can do better.

Closes: #52
parent 0e7a8edf
Pipeline #39186 passed with stage
in 1 minute and 54 seconds
......@@ -73,7 +73,7 @@ libtracker_data = library('tracker-data',
# symbols from libtracker-sparql, but does not mean it should
# be linked to it.
override_options: ['b_lundef=false'],
dependencies: tracker_data_dependencies + [unicode_library],
dependencies: tracker_data_dependencies + [unicode_library, tracker_sparql_intermediate_dep],
include_directories: [commoninc, configinc, srcinc],
)
......
......@@ -11,7 +11,7 @@ libtracker_fts = static_library('tracker-fts',
'tracker-fts-config.c',
'tracker-fts-tokenizer.c',
libtracker_fts_fts5,
dependencies: [tracker_common_dep],
dependencies: [tracker_common_dep, tracker_sparql_intermediate_dep],
c_args: tracker_c_args
)
......
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