Re: [PATCH] meson.build: fix libgcrypt detection on system without libgcrypt-config

2024-07-15 Thread Yao Zi
On Fri, Jul 12, 2024 at 02:52:02PM +0100, Daniel P. Berrangé wrote: > On Sat, Jul 06, 2024 at 08:12:26PM +, Yao Zi wrote: > > libgcrypt starts providing correct pkg-config configuration and dropping > > libgcrypt-config since 1.11.0. So use auto method for detection of > > libgcrypt, in which m

Re: [PATCH] meson.build: fix libgcrypt detection on system without libgcrypt-config

2024-07-12 Thread Daniel P . Berrangé
On Sat, Jul 06, 2024 at 08:12:26PM +, Yao Zi wrote: > libgcrypt starts providing correct pkg-config configuration and dropping > libgcrypt-config since 1.11.0. So use auto method for detection of > libgcrypt, in which meson will try both pkg-config and libgcrypt-config. The pkg-config file see

[PATCH] meson.build: fix libgcrypt detection on system without libgcrypt-config

2024-07-06 Thread Yao Zi
libgcrypt starts providing correct pkg-config configuration and dropping libgcrypt-config since 1.11.0. So use auto method for detection of libgcrypt, in which meson will try both pkg-config and libgcrypt-config. This fixes build failure when libgcrypt is enabled on a system without ligcrypt-confi