gphoto2: Move the sed op on config.h to do_compile

Current code still fails on some AB nodes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2025-05-10 23:58:04 -07:00
parent 2045e71318
commit b87ebe9659
@@ -19,6 +19,6 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \
--without-cdk \
"
do_configure:append() {
sed -i -E "s/--sysroot=[^'\" ]+//g" ${B}/config.h
do_compile:prepend() {
sed -i -e 's/--sysroot=[^ "]*//g' ${B}/config.h
}