mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-13 05:44:47 +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:
parent
625c74321c
commit
bdbc71f61a
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user