Message ID | 20250116182808.1180687-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [meta-mingw] libiconv: tell autoreconf where to find supplementary macros | expand |
diff --git a/recipes-support/libiconv/libiconv_1.15.bb b/recipes-support/libiconv/libiconv_1.15.bb index b58abb4..2f2b473 100644 --- a/recipes-support/libiconv/libiconv_1.15.bb +++ b/recipes-support/libiconv/libiconv_1.15.bb @@ -19,6 +19,9 @@ S = "${WORKDIR}/libiconv-${PV}" inherit autotools pkgconfig gettext +# Need to use absolute paths as autoreconf will recurse into libchardet +EXTRA_AUTORECONF += "-I ${S}/m4 -I ${S}/srcm4" + python __anonymous() { if d.getVar("TARGET_OS") != "linux": return
The libiconv build is non-idiomatic, and most importantly doesn't use automake so there's no way to tell aclocal where to find macros. Currently that isn't an issue because our autotools class explicitly specifies any directories it can find containing macros but that will be removed shortly, so tell autoreconf where to find the macros as the upstream Makefile.devel does. Note that we need to pass absolute paths here because libiconv has a nested configure script which fails when autoreconf is used with relative paths. Signed-off-by: Ross Burton <ross.burton@arm.com> --- recipes-support/libiconv/libiconv_1.15.bb | 3 +++ 1 file changed, 3 insertions(+)