File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2938,6 +2938,9 @@ config.substitutions.append(('%target-run-stdlib-swift', config.target_run_stdli
29382938config .substitutions .append (('%target-repl-run-simple-swift' , subst_target_repl_run_simple_swift ))
29392939config .substitutions .append (('%target-run' , config .target_run ))
29402940config .substitutions .append (('%target-jit-run' , subst_target_jit_run ))
2941+ # Capture groups:
2942+ # \1 = path before the file name (non-greedy)
2943+ # \2 = file name (last component, no slashes or parentheses)
29412944config .substitutions .append (('%target-build-swift-dylib\(([^)]+?)([^/\\ ()]+)\)' , config .target_build_swift_dylib ))
29422945config .substitutions .append (('%target-codesign' , config .target_codesign ))
29432946config .substitutions .append (('%target-build-swift' , config .target_build_swift ))
You can’t perform that action at this time.
0 commit comments