libgphoto: Fix build with libtool 2.4.7

Delete old m4 macros, so autoreconf can repopulate it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-03-19 01:40:16 -07:00
parent 9442c55e08
commit 96890edbb5

View File

@ -25,6 +25,11 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[gd] = ",--without-gdlib,gd"
PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev"
do_configure:prepend() {
rm -rf ${S}/libgphoto2_port/auto-m4/*
rm -rf ${S}/auto-m4/*
}
do_configure:append() {
cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/libgphoto2_port/po/
cd ${S}/libgphoto2_port/