Files
nixpkgs/pkgs/development/libraries/gdk-pixbuf/static-deps.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

32 lines
1.1 KiB
Diff

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