Skip to content

Commit

Permalink
polkit: Fix build with libtool 2.4.7
Browse files Browse the repository at this point in the history
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 <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
g-scott-murray authored and kraj committed Mar 25, 2022
1 parent ca1cfc9 commit 97c904c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meta-oe/recipes-extended/polkit/polkit_0.119.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 97c904c

Please sign in to comment.