mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST,DependencyScan,IRGen,Serialization,Tooling: track library style (#78777)
Track if the dependency is static or dynamic. This is in preparation for helping rename the static library to differentiate it from import libraries.
This commit is contained in:
committed by
GitHub
parent
8d69807ed6
commit
9c85fbc8da
@@ -243,7 +243,7 @@ SwiftModuleScanner::scanInterfaceFile(Twine moduleInterfacePath,
|
||||
linkName = *(linkNameArgIt+1);
|
||||
linkLibraries.push_back({linkName,
|
||||
isFramework ? LibraryKind::Framework : LibraryKind::Library,
|
||||
true});
|
||||
/*static=*/false, /*force_load=*/true});
|
||||
}
|
||||
bool isStatic = llvm::find(ArgsRefs, "-static") != ArgsRefs.end();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user