From 75fb91501ec6cdb91c08bcff63aed8669d1e98f8 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 1 Nov 2024 12:30:32 -0700 Subject: [PATCH] docs: show which pkg-config Fedora uses for cross-compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Learned the hard way. Only tested on Fedora but other RPM-based distros are likely to be the same. Reviewed-by: Tapani Pälli Part-of: --- docs/meson.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/meson.rst b/docs/meson.rst index b00197374e3..55c6d79b2e4 100644 --- a/docs/meson.rst +++ b/docs/meson.rst @@ -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']