ldc and homebrew in macos
Gerardo Cahn
gerardo at niuk.org
Fri Jul 11 17:25:48 UTC 2025
A minor problem: when homebrew upgrades llvm in my macos (last
time, from 20.1.7 to 20.1.8), I need to manually change one line
in ldc2.conf so that ld doesn't complain; this file
(/opt/homebrew/Cellar/ldc/1.41.0/etc/ldc2.conf) has a fixed
reference to llvm:
...
lib-dirs = [
"/opt/homebrew/Cellar/ldc/1.41.0/lib",
"/opt/homebrew/Cellar/llvm/20.1.8/lib/clang/20/lib/darwin", //
compiler-rt directory
];
...
Could something be negotiated so that llvm/homebrew scripts
create a symbolic link, allowing ldc2.conf to be less
version-specific?
(I know this is more an llvm/homebrew issue, but at the end of
the day, ldc is affected)
Tks/rgds,
GlC
More information about the digitalmars-d-ldc
mailing list