Commit 57c65e56e2 for qemu.org
commit 57c65e56e26d5bec97a639cf625b9dc9c7f44f0c
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Mon Feb 23 16:25:54 2026 +0100
ui/vnc: explicitly link with png
The VNC code uses PNG directly.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
diff --git a/ui/meson.build b/ui/meson.build
index 683818fcbe..4e533d3046 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -42,7 +42,7 @@ vnc_ss.add(files(
'vnc-jobs.c',
'vnc-clipboard.c',
))
-vnc_ss.add(zlib, jpeg)
+vnc_ss.add(zlib, jpeg, png)
vnc_ss.add(when: sasl, if_true: files('vnc-auth-sasl.c'))
system_ss.add_all(when: [vnc, pixman], if_true: vnc_ss)
system_ss.add(when: vnc, if_false: files('vnc-stubs.c'))