# \[Pre-Pitch\] Statically linking the Swift runtime libraries by default on Linux

**URL:** <https://forums.swift.org/t/pre-pitch-statically-linking-the-swift-runtime-libraries-by-default-on-linux/52837>\
**Category:** Package Manager\
**Created:** [October 15, 2021, 4:43am UTC](https://forums.swift.org/t/pre-pitch-statically-linking-the-swift-runtime-libraries-by-default-on-linux/52837 "2021-10-15T04:43:24Z")\
**Posts on this page:** 1\
**Showing post:** 32

<div class="post-metadata">

**Author:** ![tomerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tomerd/32/3402_2.png) [@tomerd](https://forums.swift.org/u/tomerd)\
**Post date:** [December 1, 2021, 1:51am UTC](https://forums.swift.org/t/pre-pitch-statically-linking-the-swift-runtime-libraries-by-default-on-linux/52837/32 "2021-12-01T01:51:17Z")

</div>

With [SE-0332](https://forums.swift.org/t/se-0332-package-manager-command-plugins/) coming into the picture, one alternative design direction could be to create a Linux oriented "packaging" plugin which would (among other things) build applications for Linux with the runtime static linking flags (`-Xswiftc -static-stdlib`) saving the need to change SwiftPM's default behavior. What do folks think about such alternative?

---

_[View the full topic](https://forums.swift.org/t/pre-pitch-statically-linking-the-swift-runtime-libraries-by-default-on-linux/52837)._
