Commit 3cbfaa5b 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

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 c2d3289a
Pipeline #39187 passed with stage
in 9 minutes and 20 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',
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