docs/android: drop pkg-config workaround from cross-file

This used to workaround missing libdrm dependency from pkg-config, and
is no longer needed since allow-fallback-for meson option gets
introduced for libdrm.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36534>
This commit is contained in:
Yiwei Zhang
2025-08-01 18:45:26 -07:00
committed by Marge Bot
parent 2f5db959a7
commit 0de5e8cd59

View File

@@ -57,10 +57,6 @@ Then, create your Meson cross file to use it, something like this
c_ld = 'lld'
cpp_ld = 'lld'
strip = ndk_path / 'toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip'
# 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
pkg-config = ['env', 'PKG_CONFIG_LIBDIR=NDKDIR/pkgconfig', '/usr/bin/pkg-config']
[host_machine]
system = 'android'