On 7/7/22 4:41 AM, Ali Alnubani wrote:
Meson fails to detect the dependencies that are included
in PKG_CONFIG_PATH and built for ppc64le if binaries.pkgconfig
is not set in the ppc64le cross-file for Ubuntu.

This fixes the issue by setting binaries.pkgconfig to the
binary provided by the package 'pkg-config-powerpc64le-linux-gnu'.

Signed-off-by: Ali Alnubani <alia...@nvidia.com>
---
  config/ppc/ppc64le-power8-linux-gcc-ubuntu | 1 +
  1 file changed, 1 insertion(+)

diff --git a/config/ppc/ppc64le-power8-linux-gcc-ubuntu 
b/config/ppc/ppc64le-power8-linux-gcc-ubuntu
index 3027d66f8d..c2d5b1dc6a 100644
--- a/config/ppc/ppc64le-power8-linux-gcc-ubuntu
+++ b/config/ppc/ppc64le-power8-linux-gcc-ubuntu
@@ -3,6 +3,7 @@ c = ['ccache', 'powerpc64le-linux-gnu-gcc']
  cpp = ['ccache', 'powerpc64le-linux-gnu-g++']
  ar = 'powerpc64le-linux-gnu-ar'
  strip = 'powerpc64le-linux-gnu-strip'
+pkgconfig = 'powerpc64le-linux-gnu-pkg-config'

  [host_machine]
  system = 'linux'

What's the test environment that prompted this patch? I'd like to try replicating before approving.

Dave

Reply via email to