runqemu: unset another environment variable for 'egl-headless'

Some host distributions (opensuse for example) are using 'pkgconf',
which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR
to every directory from the .pc file.

(From OE-Core rev: 2d5ecc560dcfbaaaff307f8367d789d8c7e00dcf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-10-11 13:47:38 +02:00
committed by Richard Purdie
parent 82f134101a
commit 8c4a9f5b65

View File

@@ -457,6 +457,7 @@ class BaseConfig(object):
del os.environ['PKG_CONFIG_PATH']
del os.environ['PKG_CONFIG_DIR']
del os.environ['PKG_CONFIG_LIBDIR']
del os.environ['PKG_CONFIG_SYSROOT_DIR']
except KeyError:
pass
try: