diff options
author | Alexander Kanavin <alex@linutronix.de> | 2024-12-04 07:48:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-05 17:07:10 +0000 |
commit | c6557ce953bc858df6b8128748fd4fbc41aa88c1 (patch) | |
tree | bd9089e46e237f33ee51668e1dfcb36daf049abe /bitbake/lib/bb/parse/parse_py/ConfHandler.py | |
parent | 003ea0b57379dde766bc727e332b74f00af400bf (diff) | |
download | poky-c6557ce953bc858df6b8128748fd4fbc41aa88c1.tar.gz |
pkg-config-native: pick additional search paths from $EXTRA_NATIVE_PKGCONFIG_PATH
This was prompted by working on librsvg update: the new meson-driven
version wants to query values from .pc files residing in its own
build directory, and modifies PKG_CONFIG_PATH accordingly.
When using the pkg-config-native wrapper such modifications
have no effect, and we have to pass them in manually
from the recipe via EXTRA_NATIVE_PKGCONFIG_PATH variable.
This variable is already defined (with an empty value) and
appended to PKG_CONFIG_PATH export in the native class, so this
simply extends its use to the wrapper.
(Appending to PKG_CONFIG_PATH in the wrapper, instead of resetting it,
is not an option as that can lead to contamination with the cross values).
(From OE-Core rev: 2bc050146d47b14d890a1b0db2b55f9057a08b65)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/ConfHandler.py')
0 files changed, 0 insertions, 0 deletions