@@ -1321,6 +1321,9 @@ if run_vendor == 'apple':
13211321 (config .darwin_xcrun_toolchain , config .variant_sdk ))
13221322 extra_frameworks_dir = make_path (config .variant_sdk , ".." , ".." , ".." ,
13231323 "Developer" , "Library" , "Frameworks" )
1324+ extra_platform_swift_modules = make_path (config .variant_sdk , ".." , ".." , ".." ,
1325+ "Developer" , "usr" , "lib" )
1326+
13241327 target_options = (
13251328 "-target %s %s %s" %
13261329 (config .variant_triple , config .resource_dir_opt , mcp_opt ))
@@ -2805,7 +2808,9 @@ config.substitutions.insert(0, ('%test-resource-dir', test_resource_dir))
28052808
28062809if run_vendor != 'apple' :
28072810 extra_frameworks_dir = ''
2811+ extra_platform_swift_modules = ''
28082812config .substitutions .append (('%xcode-extra-frameworks-dir' , extra_frameworks_dir ))
2813+ config .substitutions .append (('%xcode-extra-platform-swift-modules' , extra_platform_swift_modules ))
28092814
28102815config .substitutions .append (('%target-swiftmodule-name' , target_specific_module_triple + '.swiftmodule' ))
28112816config .substitutions .append (('%target-swiftdoc-name' , target_specific_module_triple + '.swiftdoc' ))
0 commit comments