[OE-core] [PATCH 3/4] runqemu: unset another environment variable for 'egl-headless'

Alexander Kanavin alex.kanavin at gmail.com
Tue Sep 17 14:45:05 UTC 2019


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 at gmail.com>
---
 scripts/runqemu | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/runqemu b/scripts/runqemu
index 18091a29c3b..3ebe9d66ff8 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -461,6 +461,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:
-- 
2.17.1



More information about the Openembedded-core mailing list