monit: 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: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-03-19 01:42:23 -07:00
parent 96890edbb5
commit 02c24e2b9f

View File

@ -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