]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Oct 2019 14:36:03 +0000 (15:36 +0100)
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>
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: