diff --git a/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp b/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp index f58f6dc7..59c4ce83 100644 --- a/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp +++ b/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp @@ -92,6 +92,9 @@ void HeaderSearchDirs::AddCompilerBuiltInSearchDirs () { } pclose(fp) ; + // Homebrew on Macs puts everything in /usr/local/Cellar. + hso.AddPath("/usr/local/Cellar" , clang::frontend::System, IsFramework, IsSysRootRelative); + } void HeaderSearchDirs::AddUserSearchDirs ( std::vector & include_dirs ) {