meson: fix deprecation warning in create-android-cross-file.sh
When running .gitlab-ci/container/debian/android_build.sh using the cross files created by .gitlab-ci/container/create-android-cross-file.sh meson prints out the following warning: ----------------------------------------------------------------------- DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config" ----------------------------------------------------------------------- Use the suggested name `pkg-config` in the cross files to silence the warning. Apply the same change also to the example meson cross file in docs/android.rst Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29431>
This commit is contained in:

committed by
Marge Bot

parent
b8f1e95cbe
commit
09fb55ea92
@@ -30,7 +30,7 @@ Then, create your Meson cross file to use it, something like this
|
||||
# Android doesn't come with a pkg-config, but we need one for Meson to be happy not
|
||||
# finding all the optional deps it looks for. Use system pkg-config pointing at a
|
||||
# directory we get to populate with any .pc files we want to add for Android
|
||||
pkgconfig = ['env', 'PKG_CONFIG_LIBDIR=NDKDIR/pkgconfig', '/usr/bin/pkg-config']
|
||||
pkg-config = ['env', 'PKG_CONFIG_LIBDIR=NDKDIR/pkgconfig', '/usr/bin/pkg-config']
|
||||
|
||||
[host_machine]
|
||||
system = 'android'
|
||||
|
Reference in New Issue
Block a user