llvmPackages_{16,17,git}.lldb: tell cc-wrapper about libclang*.so
It appears that LLVM's build system no longer sets the executable's rpath to include the faux resource root we pass in, so we need to make sure cc-wrapper does this.
This commit is contained in:
parent
622a03c198
commit
23cf198545
@ -69,6 +69,11 @@ stdenv.mkDerivation (rec {
|
||||
libedit
|
||||
libxml2
|
||||
libllvm
|
||||
] ++ lib.optionals (lib.versionAtLeast release_version "16") [
|
||||
# Starting with LLVM 16, the resource dir patch is no longer enough to get
|
||||
# libclang into the rpath of the lldb executables. By putting it into
|
||||
# buildInputs cc-wrapper will set up rpath correctly for us.
|
||||
(lib.getLib libclang)
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.libobjc
|
||||
darwin.apple_sdk.libs.xpc
|
||||
|
Loading…
Reference in New Issue
Block a user