From b5964185b753345c745a3aa25368b1c3a10f3854 Mon Sep 17 00:00:00 2001 From: obrusvit Date: Tue, 15 Apr 2025 12:35:19 +0200 Subject: [PATCH] test: fix T3W1 rust tests --- core/embed/rust/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/embed/rust/build.rs b/core/embed/rust/build.rs index e87549b73f..d6fee52a60 100644 --- a/core/embed/rust/build.rs +++ b/core/embed/rust/build.rs @@ -517,4 +517,7 @@ fn link_core_objects() { println!("cargo:rustc-link-lib=SDL2"); println!("cargo:rustc-link-lib=SDL2_image"); + + #[cfg(any(feature = "ui_jpeg", feature = "hw_jpeg_decoder"))] + println!("cargo:rustc-link-lib=jpeg"); }