build: Make dependency order consistent when generating introspection

Add first the internal/local dependencies, then the external dependencies.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2826>
This commit is contained in:
Carlos Garnacho 2023-02-05 10:53:14 +01:00 committed by Marge Bot
parent 83e505408c
commit d8ef1b5b8b
2 changed files with 3 additions and 3 deletions

View File

@ -1185,8 +1185,8 @@ if have_introspection
libmutter_clutter_gir[0], libmutter_clutter_gir[0],
], ],
dependencies: [ dependencies: [
mutter_deps,
libmutter_dep, libmutter_dep,
mutter_deps,
], ],
extra_args: mutter_c_args + introspection_args, extra_args: mutter_c_args + introspection_args,
install_dir_gir: pkglibdir, install_dir_gir: pkglibdir,

View File

@ -36,10 +36,10 @@ tests_c_args = mutter_c_args
subdir('meta-test') subdir('meta-test')
tests_deps = [ tests_deps = [
mutter_deps,
libmutter_dep,
libmutter_cogl_dep, libmutter_cogl_dep,
libmutter_clutter_dep, libmutter_clutter_dep,
libmutter_dep,
mutter_deps,
] ]
libmutter_test = shared_library(libmutter_test_name, libmutter_test = shared_library(libmutter_test_name,