gphoto: Fix the sed expression to remove --sysroot from config.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2025-02-21 17:37:35 -08:00
parent 02d14e5715
commit ebc1cc47f9
@@ -20,5 +20,5 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \
"
do_configure:append() {
sed -i -E 's/--sysroot=[^ "]*([" ])/\1/g' ${B}/config.h
sed -i 's/--sysroot[^ "]*//g' ${B}/config.h
}