Commit 3db12270 authored by Ernestas Kulik's avatar Ernestas Kulik 🦑 Committed by Ernestas Kulik

build: Don’t index into gnome.compile_resources() array

Even considering the fact that
https://github.com/mesonbuild/meson/pull/4222 was reverted, maybe it’s
not such a good idea to trust the docs and use magical indices.
parent 8c944770
Pipeline #79710 passed with stage
in 8 minutes and 26 seconds
......@@ -20,8 +20,7 @@ libnautilus_sources = [
'nautilus-search-provider.h'
]
),
# The header is only used by the main executable, no need to add it here.
resources[0],
resources,
gnome.gdbus_codegen(
'nautilus-freedesktop-generated',
join_paths(
......@@ -307,7 +306,7 @@ libnautilus_dep = declare_dependency(
# the header, generated by glib-compile-resources. Passing it on from here
# will ensure that an internal compile-time dependency is placed on this file,
# thus avoiding failures that are difficult to reproduce.
sources: resources[1]
sources: resources
)
nautilus = executable(
......
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