Skip to contentSkip to conversation

polkit: Fix build with libtool 2.4.7

PATCH New Scott Murray 1 participant 1 message Mar 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-oe/recipes-extended/polkit/polkit_0.119.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-extended/polkit/polkit_0.119.bb +4 -0
index b5f77700c..8a326a981 100644
@@ -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"
 }
Signature · 1 line
2.35.1