From: Ross Burton Date: Wed, 10 Jan 2024 13:42:02 +0000 (+0000) Subject: meson: use pkg-config in the cross files X-Git-Tag: uninative-4.4~489 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d64b307891422e290bbe821d4303b3af526bbe17;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git meson: use pkg-config in the cross files >From Meson 1.3.0, the "pkgconfig" entry is deprecated and "pkg-config" should be used instead[1]. [1] https://mesonbuild.com/Release-notes-for-1-3-0.html#machine-files-pkgconfig-field-deprecated-and-replaced-by-pkgconfig Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass index a85d120d77f..33043231b48 100644 --- a/meta/classes-recipe/meson.bbclass +++ b/meta/classes-recipe/meson.bbclass @@ -74,7 +74,7 @@ nm = ${@meson_array('NM', d)} strip = ${@meson_array('STRIP', d)} readelf = ${@meson_array('READELF', d)} objcopy = ${@meson_array('OBJCOPY', d)} -pkgconfig = 'pkg-config' +pkg-config = 'pkg-config' llvm-config = 'llvm-config' cups-config = 'cups-config' g-ir-scanner = '${STAGING_BINDIR}/g-ir-scanner-wrapper' @@ -115,7 +115,7 @@ strip = ${@meson_array('BUILD_STRIP', d)} readelf = ${@meson_array('BUILD_READELF', d)} objcopy = ${@meson_array('BUILD_OBJCOPY', d)} llvm-config = '${STAGING_BINDIR_NATIVE}/llvm-config' -pkgconfig = 'pkg-config-native' +pkg-config = 'pkg-config-native' ${@rust_tool(d, "RUST_BUILD_SYS")} [built-in options]