Skip to content

Commit 7ae62ec

Browse files
committed
Add static flag
1 parent 51a4440 commit 7ae62ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

swift/internal/extensions/swift_sdks.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ def _swift_static_linux_sdk_impl(repository_ctx):
521521
# Pure C++ final links do not see the Swift toolchain's
522522
# linkopts, so the companion CC toolchain must provide the C++
523523
# runtime itself.
524+
"-static",
524525
"-lc++",
525526
]),
526527
suffix = suffix,

0 commit comments

Comments
 (0)