Message ID | 20220319084442.425475-3-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,1/3] libgphoto: Fix build with libtool 2.4.7 | expand |
diff --git a/meta-oe/recipes-support/uim/uim_1.8.8.bb b/meta-oe/recipes-support/uim/uim_1.8.8.bb index fca914ed67..e0d9d05dce 100644 --- a/meta-oe/recipes-support/uim/uim_1.8.8.bb +++ b/meta-oe/recipes-support/uim/uim_1.8.8.bb @@ -51,6 +51,9 @@ PARALLEL_MAKE = "" #Because m4 file's find maxdepth=2, so copy the m4 files of the deep depth. do_configure:prepend () { + rm -rf ${S}/m4.generated/lt*.m4 ${S}/m4.generated/libtool.m4 + rm -rf ${S}/sigscheme/libgcroots/m4/lt*.m4 ${S}/sigscheme/libgcroots/m4/libtool.m4 + rm -rf ${S}/sigscheme/m4/lt*.m4 ${S}/sigscheme/m4/libtool.m4 cp ${S}/sigscheme/m4/* ${S}/m4/ }
Delete old m4 macros, so autoreconf can repopulate it. Fixes libtool: Version mismatch error. This is libtool 2.4.7, but the libtool: definition of this LT_INIT comes from libtool 2.4.6. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7 libtool: and run autoconf again. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-support/uim/uim_1.8.8.bb | 3 +++ 1 file changed, 3 insertions(+)