mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-11 16:59:59 +00:00
gphoto: Fix regex to remove --sysroot from CC in config.h
Ensure that the string --syroot=/a/b/c is deleted but not the closing quote This fixes QA Issue: File /usr/bin/gphoto2 in package gphoto2 contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,5 +20,5 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \
|
|||||||
"
|
"
|
||||||
|
|
||||||
do_configure:append() {
|
do_configure:append() {
|
||||||
sed -i -e 's#${RECIPE_SYSROOT}##g' ${B}/config.h
|
sed -i -E 's/--sysroot=[^ "]*([" ])/\1/g' ${B}/config.h
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user