]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu: unset another environment variable for 'egl-headless'
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 11 Oct 2019 11:47:38 +0000 (13:47 +0200)
committerArmin Kuster <akuster808@gmail.com>
Sat, 26 Oct 2019 06:44:05 +0000 (23:44 -0700)
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>
scripts/runqemu

index 1a5aca98ac78aead4f05609603f5df9373e814e5..46087b8d6aceec17162066d031367d2ce8ac2093 100755 (executable)
@@ -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: