Commit ff2b07c4 authored by Sam Thursfield's avatar Sam Thursfield

Merge branch 'fix-cross' into 'master'

Fix cross generation of gir

See merge request !62
parents 20880f41 77d1f1b4
......@@ -91,6 +91,7 @@ tracker_miner_gir = gnome.generate_gir(libtracker_miner,
install: true,
extra_args: tracker_c_args + [
'--c-include=libtracker-miner/tracker-miner.h',
'-DTRACKER_COMPILATION',
])
gnome.generate_vapi(
......
......@@ -45,7 +45,9 @@ tracker_sparql_c_gir = gnome.generate_gir(libtracker_sparql,
includes : ['GLib-2.0', 'GObject-2.0', 'Gio-2.0' ],
link_with: libtracker_sparql,
extra_args: [
'--c-include', 'libtracker-sparql/tracker-sparql.h',
'--c-include',
'libtracker-sparql/tracker-sparql.h',
'-DTRACKER_COMPILATION',
])
tracker_sparql_c_gir = tracker_sparql_c_gir[0] # Ignore this .typelib
......
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