Files
swift-mirror/stdlib/public/Resources/linux-static/static-stdlib-args.lnk
Alastair Houghton ae1c0455f3 [Build] Add the new fully-static Linux SDK.
Declare a new `LINUX_STATIC` SDK and configure it.

Add options to set the build architectures for the `LINUX` and
`LINUX_STATIC` SDKs, similar to what we have for Darwin, because
we'll be cross-compiling.

Also add an option to point the build system at the sources for
the musl C library, which we're using for `LINUX_STATIC`.

rdar://123503470
2024-05-02 14:56:18 +01:00

10 lines
126 B
Plaintext

-ldl
-lpthread
-lswiftCore
-ldispatch -lBlocksRuntime
-lc++
-lm
-Xlinker -export-dynamic
-Xlinker --exclude-libs
-Xlinker ALL