zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 155b34ba0569d264650e341eab58c1f704c35bfd (tree)
parent e9220525e836810425e925722d1beaba9bfe9d91
Author: Dimitris Dinodimos <dimdin@gmail.com>
Date:   Fri,  4 Apr 2025 00:18:51 +0300

Change the lld path on macos homebrew

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

Diffstat:
Mcmake/Findlld.cmake | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/cmake/Findlld.cmake b/cmake/Findlld.cmake @@ -12,8 +12,8 @@ find_path(LLD_INCLUDE_DIRS NAMES lld/Common/Driver.h /usr/lib/llvm-19/include /usr/local/llvm190/include /usr/local/llvm19/include - /usr/local/opt/llvm@19/include - /opt/homebrew/opt/llvm@19/include + /usr/local/opt/lld@19/include + /opt/homebrew/opt/lld@19/include /mingw64/include) find_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 /usr/lib/llvm-19/lib /usr/local/llvm190/lib /usr/local/llvm19/lib - /usr/local/opt/llvm@19/lib - /opt/homebrew/opt/llvm@19/lib + /usr/local/opt/lld@19/lib + /opt/homebrew/opt/lld@19/lib ) if(EXISTS ${LLD_LIBRARY}) set(LLD_LIBRARIES ${LLD_LIBRARY}) @@ -37,8 +37,8 @@ else() /usr/lib/llvm-19/lib /usr/local/llvm190/lib /usr/local/llvm19/lib - /usr/local/opt/llvm@19/lib - /opt/homebrew/opt/llvm@19/lib + /usr/local/opt/lld@19/lib + /opt/homebrew/opt/lld@19/lib /mingw64/lib /c/msys64/mingw64/lib c:/msys64/mingw64/lib)