mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Properly compute resource folder when linking statically
- deduplicate the logic to compute the resource folder - install headers and module files in shared and static resource folders - forward -static flag when calling swiftc with -print-target-info
This commit is contained in:
@@ -193,6 +193,7 @@ bool ArgsToFrontendOptionsConverter::convert(
|
||||
Opts.EnableSourceImport |= Args.hasArg(OPT_enable_source_import);
|
||||
Opts.ImportUnderlyingModule |= Args.hasArg(OPT_import_underlying_module);
|
||||
Opts.EnableIncrementalDependencyVerifier |= Args.hasArg(OPT_verify_incremental_dependencies);
|
||||
Opts.UseSharedResourceFolder = !Args.hasArg(OPT_use_static_resource_dir);
|
||||
|
||||
computeImportObjCHeaderOptions();
|
||||
computeImplicitImportModuleNames();
|
||||
|
||||
Reference in New Issue
Block a user