From 97c904c765a860759d2320d6a67421ce1ecb705b Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 24 Mar 2022 15:49:49 -0400 Subject: [PATCH] polkit: Fix build with libtool 2.4.7 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: Scott Murray Signed-off-by: Khem Raj --- meta-oe/recipes-extended/polkit/polkit_0.119.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-extended/polkit/polkit_0.119.bb b/meta-oe/recipes-extended/polkit/polkit_0.119.bb index b5f77700c4..8a326a9815 100644 --- a/meta-oe/recipes-extended/polkit/polkit_0.119.bb +++ b/meta-oe/recipes-extended/polkit/polkit_0.119.bb @@ -35,6 +35,10 @@ EXTRA_OECONF = "--with-os-type=moblin \ --disable-libelogind \ " +do_configure:prepend () { + rm -f ${S}/buildutil/lt*.m4 ${S}/buildutil/libtool.m4 +} + do_compile:prepend () { export GIR_EXTRA_LIBS_PATH="${B}/src/polkit/.libs" }