Skip to content

Commit 8b54542

Browse files
committed
Merge pull request #129 from hpux735/gold
Fixes to enable swift section objects
2 parents 8412a8d + f9e020c commit 8b54542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def process_runtime_libraries(build_path, opts, bootstrap=False):
379379
raise SystemExit("unable to understand 'swiftc' driver commands")
380380
del link_cmd[idx - 1]
381381
cmd = [arg for arg in link_cmd
382-
if not arg.endswith(".o") and not arg.endswith(".autolink")]
382+
if arg.endswith("swift_begin.o") or arg.endswith("swift_end.o") or (not arg.endswith(".o") and not arg.endswith(".autolink"))]
383383
subprocess.check_call(cmd)
384384
return (runtime_module_path, runtime_lib_path)
385385

0 commit comments

Comments
 (0)