Skip to content

gdk-pixbuf/meson.build: fix static build

Fabrice Fontaine requested to merge ffontaine/gdk-pixbuf:master into master

Add included_loaders_deps to dependencies of gdkpixbuf_dep to avoid the following build failure when building statically:

FAILED: gdk-pixbuf/gdk-pixbuf-csource
/home/autobuild/autobuild/instance-9/output-1/host/bin/mips-buildroot-linux-musl-gcc  -o gdk-pixbuf/gdk-pixbuf-csource gdk-pixbuf/gdk-pixbuf-csource.p/gdk-pixbuf-csource.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -static -Wl,--start-group gdk-pixbuf/libgdk_pixbuf-2.0.a -lm /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libglib-2.0.a -pthread /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libpcre2-8.a /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libgobject-2.0.a /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libffi.a /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libgmodule-2.0.a /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libgio-2.0.a /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libz.a /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libmount.a /home/autobuild/autobuild/instance-9/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libblkid.a -Wl,--end-group
/home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/mips-buildroot-linux-musl/12.3.0/../../../../mips-buildroot-linux-musl/bin/ld: gdk-pixbuf/libgdk_pixbuf-2.0.a(io-png.c.o): in function `png_simple_error_callback':
io-png.c:(.text+0xf8): undefined reference to `png_get_error_ptr'

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Merge request reports

Loading