mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SwiftCompilerSources: force the -static flag
These libraries are built statically for static linking. SPM currently does not support libraries, and this will ensure that we properly build the library target for consumption into the compiler.
This commit is contained in:
@@ -29,6 +29,7 @@ private extension Target {
|
||||
swiftSettings: [
|
||||
.interoperabilityMode(.Cxx),
|
||||
.unsafeFlags([
|
||||
"-static",
|
||||
"-Xcc", "-I../include",
|
||||
"-Xcc", "-I../../llvm-project/llvm/include",
|
||||
"-Xcc", "-I../../llvm-project/clang/include",
|
||||
|
||||
Reference in New Issue
Block a user