]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
pkgconfig: Add pkg-config-native to SDK
authorTom Hochstein <tom.hochstein@oss.nxp.com>
Sun, 22 Dec 2024 16:22:30 +0000 (10:22 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Dec 2024 11:32:22 +0000 (11:32 +0000)
commit065ab44943b78ccb806477684b1167d69d5d1d6d
tree8fd09e531873e2542f0c0d5e16598727f8d37da2
parenta2c5b2cad7857250b4a1b36ba792a8110989733a
pkgconfig: Add pkg-config-native to SDK

Building weston with an SDK fails to find pkg-config-native:
```
Did not find pkg-config by name 'pkg-config-native'
Found pkg-config: NO
Found CMake: /opt/poky/5.1/sysroots/x86_64-pokysdk-linux/usr/bin/cmake (3.31.0)
Build-time dependency wayland-scanner found: NO (tried cmake)

protocol/meson.build:1:14: ERROR: Dependency lookup for wayland-scanner with method 'pkgconfig' failed: Pkg-config for machine build machine not found. Giving up.
```

Fix the problem by extending the pkg-config-native wrapper install to
class-nativesdk.

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb