@@ -1321,6 +1321,9 @@ if run_vendor == 'apple':
1321
1321
(config .darwin_xcrun_toolchain , config .variant_sdk ))
1322
1322
extra_frameworks_dir = make_path (config .variant_sdk , ".." , ".." , ".." ,
1323
1323
"Developer" , "Library" , "Frameworks" )
1324
+ extra_platform_swift_modules = make_path (config .variant_sdk , ".." , ".." , ".." ,
1325
+ "Developer" , "usr" , "lib" )
1326
+
1324
1327
target_options = (
1325
1328
"-target %s %s %s" %
1326
1329
(config .variant_triple , config .resource_dir_opt , mcp_opt ))
@@ -2805,7 +2808,9 @@ config.substitutions.insert(0, ('%test-resource-dir', test_resource_dir))
2805
2808
2806
2809
if run_vendor != 'apple' :
2807
2810
extra_frameworks_dir = ''
2811
+ extra_platform_swift_modules = ''
2808
2812
config .substitutions .append (('%xcode-extra-frameworks-dir' , extra_frameworks_dir ))
2813
+ config .substitutions .append (('%xcode-extra-platform-swift-modules' , extra_platform_swift_modules ))
2809
2814
2810
2815
config .substitutions .append (('%target-swiftmodule-name' , target_specific_module_triple + '.swiftmodule' ))
2811
2816
config .substitutions .append (('%target-swiftdoc-name' , target_specific_module_triple + '.swiftdoc' ))
0 commit comments