[build] Make rpath a bit more robust for Mac sanitizers.
Bug: https://github.com/dart-lang/sdk/issues/61713 Bug: https://github.com/dart-lang/sdk/issues/61831 Change-Id: I76ca4ae244dda7d97d98adfb802814a649edc309 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/457882 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
committed by
Commit Queue
parent
0cf5b99c4f
commit
b0de09e20f
@@ -146,6 +146,14 @@ config("compiler") {
|
||||
ldflags += [
|
||||
"-rpath",
|
||||
"buildtools/mac-$host_cpu/clang/lib/clang/22/lib/darwin",
|
||||
|
||||
# Back from xcodebuild/ReleaseTSAN/dart
|
||||
"-rpath",
|
||||
"@loader_path/../../buildtools/mac-$host_cpu/clang/lib/clang/22/lib/darwin",
|
||||
|
||||
# Back from xcodebuild/ReleaseTSAN/dart-sdk/bin/dart
|
||||
"-rpath",
|
||||
"@loader_path/../../../../buildtools/mac-$host_cpu/clang/lib/clang/22/lib/darwin",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user