Add support for default Homebrew-installed LLD (#2119)

This commit is contained in:
Lucian Feroiu
2025-05-06 22:38:48 +02:00
committed by GitHub
parent 584a8a2e60
commit 30ec200492

View File

@@ -165,6 +165,10 @@ if(C3_WITH_LLVM)
endif() endif()
endif() endif()
if (EXISTS /opt/homebrew/lib)
list(APPEND LLVM_LIBRARY_DIRS /opt/homebrew/lib)
endif()
if (EXISTS /usr/lib) if (EXISTS /usr/lib)
# Some systems (such as Alpine Linux) seem to put some of the relevant # Some systems (such as Alpine Linux) seem to put some of the relevant
# LLVM files in /usr/lib, but this doesn't seem to be included in the # LLVM files in /usr/lib, but this doesn't seem to be included in the