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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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"