tiff-native may pick up liblerc from the host, in which case
it's added as a private requirement in libtiff-4.pc.
That in turn causes a build error in gtk4-native in Yocto.

This was observed on Fedora 42 with gdk-pixbuf2-devel installed
on the host, where libtiff 4.7.0 is built with liblerc enabled.

Since liblerc does not exist in Yocto, disable its use in tiff.

Signed-off-by: Zoltán Böszörményi <[email protected]>
Backport-to: walnascar
---
 meta/recipes-multimedia/libtiff/tiff_4.7.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb 
b/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb
index 26e3811ff8..c21b352d3c 100644
--- a/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb
+++ b/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb
@@ -32,6 +32,8 @@ inherit autotools multilib_header
 
 CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no"
 
+EXTRA_OECONF = "--disable-lerc"
+
 PACKAGECONFIG ?= "cxx jpeg zlib lzma \
                   strip-chopping extrasample-as-alpha check-ycbcr-subsampling"
 
-- 
2.51.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#222629): 
https://lists.openembedded.org/g/openembedded-core/message/222629
Mute This Topic: https://lists.openembedded.org/mt/114987790/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [OE-core] [PATCH] tiff: Disa... Zoltan Boszormenyi via lists.openembedded.org

Reply via email to