Files
poky/meta/recipes-core
Ross Burton 22c5cffbab buildtools-tarball: set pkg-config search path
The buildtools-tarball includes a native sysroot with .pc files, and
in the case of buildtools-extended-tarball a pkg-config binary too.

If we're using the host pkg-config then it doesn't know to search in the
native sysroot.  If we're using our pkg-config then it searches in the
build-time prefix and not the actual SDK installation location.

Neither of these are correct, so set PKG_CONFIG_LIBDIR to search:
- The native sysroot
- The host pkg-config's default search path, if present
- Falling back to /usr/lib/pkgconfig, if not

In an ideal world this would be handled by the generic toolchain script,
but that is slightly more involved.

[ YOCTO #15007 ]

(From OE-Core rev: 8f768a3f4c7ff477e994d60800e5a1b83891615a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
..
2022-10-26 12:28:37 +01:00
2022-12-22 23:05:50 +00:00
2022-11-01 17:34:59 +00:00
2022-11-15 09:38:37 +00:00
2022-11-27 23:54:51 +00:00
2023-01-20 16:40:47 +00:00
2022-11-08 22:47:16 +00:00
2022-11-15 09:38:37 +00:00
2022-06-07 21:21:54 +01:00
2022-10-26 12:28:39 +01:00