summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2023-02-24 19:06:20 +0100
committerCarlos Garnacho <carlosg@gnome.org>2023-02-27 09:18:57 +0100
commit712abcc5f1690b223ead8df57c9cc2fdf66752dd (patch)
treecdfd88709c27a29ae27021834d2bb06813258e3f /src
parentbc4aa8e765774f6641099cc2ed0d570894e64b86 (diff)
downloadtracker-712abcc5f1690b223ead8df57c9cc2fdf66752dd.tar.gz
build: Ensure to generate enum types for the error domain
This is required for correct introspection of our error domain.
Diffstat (limited to 'src')
-rw-r--r--src/libtracker-sparql/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build
index 157ebccd2..cc236806e 100644
--- a/src/libtracker-sparql/meson.build
+++ b/src/libtracker-sparql/meson.build
@@ -11,7 +11,7 @@ version_header = configure_file(
configuration: conf)
enum_types = gnome.mkenums('tracker-sparql-enum-types',
- sources: ['tracker-notifier.h', 'tracker-connection.h', 'tracker-enums.h'],
+ sources: ['tracker-notifier.h', 'tracker-connection.h', 'tracker-enums.h', 'tracker-error.h'],
c_template: 'tracker-sparql-enum-types.c.template',
h_template: 'tracker-sparql-enum-types.h.template',
install_dir: join_paths(get_option('prefix'), get_option('includedir'), 'tracker-@0@'.format(tracker_api_version), 'libtracker-sparql'),
@@ -169,6 +169,8 @@ if get_option('introspection').enabled()
libtracker_sparql_sources,
libtracker_sparql_public_headers,
introspection_extra_sources,
+ version_header,
+ enum_types,
],
dependencies: introspection_extra_deps,
nsversion: tracker_api_version,