diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-10-11 13:47:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-15 14:16:10 +0100 |
commit | 8c4a9f5b6571b95e66dd6153289dc43ea085c18a (patch) | |
tree | 9ae4456e7d3e6d0259839efdf7d32c18c6c3a672 /scripts/runqemu | |
parent | 82f134101adf0815ad50fe07b226a66b680461a0 (diff) | |
download | poky-8c4a9f5b6571b95e66dd6153289dc43ea085c18a.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.
(From OE-Core rev: 2d5ecc560dcfbaaaff307f8367d789d8c7e00dcf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 1 |
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): | |||
457 | del os.environ['PKG_CONFIG_PATH'] | 457 | del os.environ['PKG_CONFIG_PATH'] |
458 | del os.environ['PKG_CONFIG_DIR'] | 458 | del os.environ['PKG_CONFIG_DIR'] |
459 | del os.environ['PKG_CONFIG_LIBDIR'] | 459 | del os.environ['PKG_CONFIG_LIBDIR'] |
460 | del os.environ['PKG_CONFIG_SYSROOT_DIR'] | ||
460 | except KeyError: | 461 | except KeyError: |
461 | pass | 462 | pass |
462 | try: | 463 | try: |