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 <[email protected]>
---
meta/recipes-support/libpsl/libpsl_0.22.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240962):
https://lists.openembedded.org/g/openembedded-core/message/240962
Mute This Topic: https://lists.openembedded.org/mt/120281289/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-