1From 1b7cac1cbdb7078f575a3222be451a9bf1ac35ec Mon Sep 17 00:00:00 2001
2From: Alyssa Ross <hi@alyssa.is>
3Date: Wed, 31 Jan 2024 15:33:02 +0100
4Subject: [PATCH] build: add missing dependency to gdkpixbuf_dep
5
6This should match the dependencies passed to the library() call that
7creates gdkpixbuf. Otherwise, linking the gdkpixbuf_bin executables
8will fail if -Ddefault_library=static, because static libraries don't
9carry dependency information themselves.
10---
11Link: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/161
12
13 gdk-pixbuf/meson.build | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
17index a11926eee..450484d68 100644
18--- a/gdk-pixbuf/meson.build
19+++ b/gdk-pixbuf/meson.build
20@@ -269,7 +269,7 @@ endif
21 gdkpixbuf_dep = declare_dependency(
22 link_with: gdkpixbuf,
23 include_directories: root_inc,
24- dependencies: gdk_pixbuf_deps,
25+ dependencies: [ gdk_pixbuf_deps, included_loaders_deps ],
26 sources: [ gdkpixbuf_enum_h, built_girs ],
27 )
28 meson.override_dependency('gdk-pixbuf-2.0', gdkpixbuf_dep)
29--
30GitLab
31