summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-10-11 13:47:38 +0200
committerArmin Kuster <akuster808@gmail.com>2019-10-25 23:44:05 -0700
commit5f51c9303940423b05ba8cfeaa1c9c2b24e36a53 (patch)
tree7fa966fe6ce1b2f71c46c7d748831f3a9d0c6897 /scripts
parentb80c0a4b6821da55d2882b60d5d3e7b21d43a383 (diff)
downloadopenembedded-core-contrib-5f51c9303940423b05ba8cfeaa1c9c2b24e36a53.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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 1a5aca98ac..46087b8d6a 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: