authorgravatar for dimdin@gmail.comDimitris Dinodimos <dimdin@gmail.com> 2025-04-04 00:18:51+03:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-04 06:03:19+02:00
log155b34ba0569d264650e341eab58c1f704c35bfd
tree22c2de348bc08099b7fc44d3c58a4ef3a19463e6
parente9220525e836810425e925722d1beaba9bfe9d91

Change the lld path on macos homebrew

Homebrew now provides lld in a separate formula; it was part of llvm formula.

1 files changed, 6 insertions(+), 6 deletions(-)

cmake/Findlld.cmake+6-6
......@@ -12,8 +12,8 @@ find_path(LLD_INCLUDE_DIRS NAMES lld/Common/Driver.h
1212 /usr/lib/llvm-19/include
1313 /usr/local/llvm190/include
1414 /usr/local/llvm19/include
15 /usr/local/opt/llvm@19/include
16 /opt/homebrew/opt/llvm@19/include
15 /usr/local/opt/lld@19/include
16 /opt/homebrew/opt/lld@19/include
1717 /mingw64/include)
1818
1919find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
......@@ -22,8 +22,8 @@ find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
2222 /usr/lib/llvm-19/lib
2323 /usr/local/llvm190/lib
2424 /usr/local/llvm19/lib
25 /usr/local/opt/llvm@19/lib
26 /opt/homebrew/opt/llvm@19/lib
25 /usr/local/opt/lld@19/lib
26 /opt/homebrew/opt/lld@19/lib
2727)
2828if(EXISTS ${LLD_LIBRARY})
2929 set(LLD_LIBRARIES ${LLD_LIBRARY})
......@@ -37,8 +37,8 @@ else()
3737 /usr/lib/llvm-19/lib
3838 /usr/local/llvm190/lib
3939 /usr/local/llvm19/lib
40 /usr/local/opt/llvm@19/lib
41 /opt/homebrew/opt/llvm@19/lib
40 /usr/local/opt/lld@19/lib
41 /opt/homebrew/opt/lld@19/lib
4242 /mingw64/lib
4343 /c/msys64/mingw64/lib
4444 c:/msys64/mingw64/lib)