summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-10-11 13:47:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-11 15:36:03 +0100
commit2d5ecc560dcfbaaaff307f8367d789d8c7e00dcf (patch)
tree56d2fc2483adecfd53e5fd2659452c0b252968bd /scripts
parentca7570d8c32c7cb5e3c620eee732fe070f4c6cb1 (diff)
downloadopenembedded-core-contrib-2d5ecc560dcfbaaaff307f8367d789d8c7e00dcf.tar.gz
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. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 1a5aca98ac7..46087b8d6ac 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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: