Add /opt/homebrew/bin to the helper search path when built under Mac Homebrew

This commit is contained in:
Jean-Francois Dockes 2021-09-30 10:12:24 +02:00
parent 4aeb9a8b78
commit bad5d41439

View File

@ -312,7 +312,7 @@ RclConfig *recollinit(int flags,
#if defined(MACPORTS) #if defined(MACPORTS)
PATH = string("/opt/local/bin/") + ":" + PATH; PATH = string("/opt/local/bin/") + ":" + PATH;
#elif defined(HOMEBREW) #elif defined(HOMEBREW)
PATH = string("/usr/local/bin/") + ":" + PATH; PATH = string("/opt/homebrew/bin:/usr/local/bin/") + ":" + PATH;
#else #else
// Native qt build. Add our own directory to the path so that // Native qt build. Add our own directory to the path so that
// recoll finds recollindex pkgdatadir: // recoll finds recollindex pkgdatadir: