Commit 900d2be3 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Ensure that extensions depends on generated headers

The libnautilus-extensions internal dependency must include the
generated enumeration header file, otherwise we may end up building
targets that depend on the library prior to have the header properly
generated.
parent cbff272b
Pipeline #3168 passed with stage
in 6 minutes and 43 seconds
......@@ -27,15 +27,17 @@ install_headers(
subdir: join_paths('nautilus', 'libnautilus-extension')
)
libnautilus_extension_enums = gnome.mkenums_simple(
'nautilus-extension-enum-types',
install_header: true,
install_dir: join_paths(includedir, 'nautilus', 'libnautilus-extension'),
sources: [
'nautilus-info-provider.h'
]
)
libnautilus_extension_sources = [
gnome.mkenums_simple(
'nautilus-extension-enum-types',
install_header: true,
install_dir: join_paths(includedir, 'nautilus', 'libnautilus-extension'),
sources: [
'nautilus-info-provider.h'
]
),
libnautilus_extension_enums,
libnautilus_extension_headers,
'nautilus-column-provider.c',
'nautilus-column.c',
......@@ -88,6 +90,7 @@ gnome.generate_gir(
)
nautilus_extension = declare_dependency(
sources: libnautilus_extension_enums[1],
link_with: libnautilus_extension,
dependencies: libnautilus_extension_deps,
include_directories: nautilus_include_dirs
......
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