Compilation issue with libidn2
On my system, the stable version of libidn2
is 0.16; when using libidn2
instead of libidn
, which was used in releases before 2.5.0, the compilation fails: see build.log.
Indeed, the function idn2_to_ascii_lz
and associated macros landed in libidn2-2.0.0
as shown in https://gitlab.com/libidn/libidn2/tags/libidn2-2.0.0
Please find attached a patch fixing this issue (as I can't fork the repository): on systems without libidn2
>= 2.0.0, it fallbacks on the original libidn
.