File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1441,10 +1441,10 @@ config.substitutions.append(('%target-sdk-name', config.target_sdk_name))
1441
1441
1442
1442
# Add 'stdlib_dir' as the path to the stdlib resource directory
1443
1443
stdlib_dir = os .path .join (config .swift_lib_dir , "swift" )
1444
- if platform .system () == 'Linux' or platform .system () == 'Windows' :
1445
- stdlib_dir = os .path .join (stdlib_dir , config .target_sdk_name , run_cpu )
1446
- else :
1444
+ if platform .system () == 'Darwin' :
1447
1445
stdlib_dir = os .path .join (stdlib_dir , config .target_sdk_name )
1446
+ else :
1447
+ stdlib_dir = os .path .join (stdlib_dir , config .target_sdk_name , target_arch )
1448
1448
config .substitutions .append (('%stdlib_dir' , stdlib_dir ))
1449
1449
1450
1450
# Add 'stdlib_module' as the path to the stdlib .swiftmodule file
You can’t perform that action at this time.
0 commit comments