mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Swift: add -headerpad_max_install_names to link options
This commit is contained in:
@@ -17,6 +17,10 @@ swift_cc_binary(
|
||||
"//swift/third_party/swift-llvm-support",
|
||||
"@absl//absl/strings",
|
||||
],
|
||||
linkopts = select({
|
||||
"@platforms//os:macos": ["-headerpad_max_install_names"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
|
||||
sh_binary(
|
||||
|
||||
Reference in New Issue
Block a user