diff options
author | Werner Koch <[email protected]> | 2023-04-19 07:09:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-04-20 11:35:50 +0000 |
commit | 7351ef32ce7c04d20ee32fc9b645a1931b3b0aba (patch) | |
tree | 36e6687e49185f48701327f208a3112c6880dba5 /src/posix-util.c | |
parent | build,qt: Simplify check for moc (diff) | |
download | gpgme-7351ef32ce7c04d20ee32fc9b645a1931b3b0aba.tar.gz gpgme-7351ef32ce7c04d20ee32fc9b645a1931b3b0aba.zip |
core: Support the new macOS Homebrew location.
* src/posix-util.c (find_executable): Extend the path.
--
GnuPG-bug-id: 6440
Diffstat (limited to 'src/posix-util.c')
-rw-r--r-- | src/posix-util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/posix-util.c b/src/posix-util.c index 2d0ce329..09c25545 100644 --- a/src/posix-util.c +++ b/src/posix-util.c @@ -144,7 +144,8 @@ find_executable (const char *pgm) /* On apple, especially when started through gpgme-json via the browser interface we should look into some additional fallback paths. */ - const char *additional_path = "/usr/local/bin:/usr/local/MacGPG2/bin"; + const char *additional_path + = "/usr/local/bin:/usr/local/MacGPG2/bin:/opt/homebrew/bin"; if (!ret) { ret = walk_path_str (additional_path, pgm); |