Message ID | 20220319084442.425475-2-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/monit/monit_5.31.0.bb b/meta-oe/recipes-support/monit/monit_5.31.0.bb index fa51e05418..2b5e89420c 100644 --- a/meta-oe/recipes-support/monit/monit_5.31.0.bb +++ b/meta-oe/recipes-support/monit/monit_5.31.0.bb @@ -38,6 +38,10 @@ INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME:${PN} = "monit" INITSCRIPT_PARAMS:${PN} = "defaults 89" +do_configure:prepend() { + rm -rf ${S}/m4/* +} + do_install:append() { # Configuration file
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/monit/monit_5.31.0.bb | 4 ++++ 1 file changed, 4 insertions(+)