Skip to content

Commit 3e07f3a

Browse files
authored
[bootstrap] Add the runtime library paths to [DY]LD_LIBRARY_PATHS so we use the just-built libswiftCore instead of the OS's copy. (#2806)
1 parent cdcf0e0 commit 3e07f3a

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
@@ -616,7 +616,7 @@ def get_swiftpm_env_cmd(args):
616616
os.path.join(args.llbuild_build_dir, "lib"),
617617
os.path.join(args.yams_build_dir, "lib"),
618618
os.path.join(args.swift_driver_build_dir, "lib"),
619-
])
619+
] + args.target_info["paths"]["runtimeLibraryPaths"])
620620

621621
if platform.system() == 'Darwin':
622622
env_cmd.append("DYLD_LIBRARY_PATH=%s" % libs_joined)

0 commit comments

Comments
 (0)