diff mbox series

[03/12] libpsl: use libidn2 instead of ICU

Message ID 20260715140507.2329605-3-ross.burton@arm.com
State New
Headers show
Series [01/12] libxml2: clean up xmlconf mode fixups | expand

Commit Message

Ross Burton July 15, 2026, 2:04 p.m. UTC
The default IDNA library was changed from libidn2 to ICU in 2021[1] with
no rationale, and upstream has had libidn2 as the default since 2017.

Switch back to libidn2 to respect upstream's opinion, and because ICU is
a monolithic dependency: this switch causes a minimal image containg
libpsl to shrink by ~30MB.

[1] oe-core 20fc11919e2 ("libpsl: Add config knobs for runtime/builtin conversion choices")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-support/libpsl/libpsl_0.22.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-support/libpsl/libpsl_0.22.0.bb b/meta/recipes-support/libpsl/libpsl_0.22.0.bb
index 741038ddc52..1e5e9c74b4c 100644
--- a/meta/recipes-support/libpsl/libpsl_0.22.0.bb
+++ b/meta/recipes-support/libpsl/libpsl_0.22.0.bb
@@ -19,7 +19,7 @@  GITHUB_BASE_URI = "https://github.com/rockdaboot/libpsl/releases"
 
 inherit autotools gettext gtk-doc manpages pkgconfig lib_package github-releases
 
-PACKAGECONFIG ?= "icu"
+PACKAGECONFIG ?= "idn2"
 PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native"
 PACKAGECONFIG[icu] = "--enable-runtime=libicu --enable-builtin=libicu,,icu"
 PACKAGECONFIG[idn2] = "--enable-runtime=libidn2 --enable-builtin=libidn2,,libidn2 libunistring"