docs: show which pkg-config Fedora uses for cross-compilation

Learned the hard way.

Only tested on Fedora but other RPM-based distros are likely to be the
same.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31945>
This commit is contained in:
Marc Herbert
2024-11-01 12:30:32 -07:00
committed by Marge Bot
parent 0051807e7e
commit 75fb91501e

View File

@@ -522,8 +522,11 @@ needed to fix build error messages.
# cpp = ['ccache', 'g++']
ar = '/usr/bin/gcc-ar'
strip = '/usr/bin/strip'
pkg-config = '/usr/bin/pkg-config-32'
llvm-config = '/usr/bin/llvm-config32'
pkg-config = '/usr/bin/pkg-config-32'
# As of version 40, Fedora uses a full target platform prefix for
# pkg-config instead, like the ARM and Windows examples below:
# pkg-config = 'i686-redhat-linux-gnu-pkg-config'
[properties]
c_args = ['-m32']