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))
14411441
14421442# Add 'stdlib_dir' as the path to the stdlib resource directory
14431443stdlib_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' :
14471445 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 )
14481448config .substitutions .append (('%stdlib_dir' , stdlib_dir ))
14491449
14501450# Add 'stdlib_module' as the path to the stdlib .swiftmodule file
You can’t perform that action at this time.
0 commit comments