Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set PKG_CONFIG_PATH to ensure gpgme builds with local libassuan
We had some build failures on macOS with this error: ``` configure: Use gpgrt-config as libassuan-config checking for LIBASSUAN - version >= 2.4.2... yes (3.0.1) checking LIBASSUAN API version... does not match. want=2 got=3. ``` This occurs when: 1. libassuan v3.0 is installed. 2. `PKG_CONFIG_PATH` includes the Homebrew path of `/opt/homebrew/lib/pkgconfig`. https://github.com/gpg/gpgme/blob/5bf3e6d0754a179b316f90a885371af99bc03ea1/m4/libassuan.m4#L32 attempts to run `gpgrt-config libassuan --exists`. This will return the Homebrew version of libassuan if `PKG_CONFIG_PATH` includes it. To avoid this build failure, preface `PKG_CONFIG_PATH` with the local vesions of libassuan and libgpg-error.
- Loading branch information