From 4eef8ad0fdd6a683d3e064de8b919c8b10130250 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 16 Jan 2025 17:42:13 +0000 Subject: libiconv: tell autoreconf where to find supplementary macros 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 --- recipes-support/libiconv/libiconv_1.15.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-support/libiconv') 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 -- cgit v1.2.3-54-g00ecf