Skip to content

Commit 1b74499

Browse files
committed
[bootstrap] Use the right install name for PackageDescription
The install name didn't used to matter when we were evaluating the manifests through the Swift interpreter. <rdar://problem/60635550>
1 parent 0bd6361 commit 1b74499

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Utilities/bootstrap

+2-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,8 @@ def process_runtime_libraries(build, args, lib_path):
667667
"-Xlinker", "-all_load",
668668
input_lib_path,
669669
"-sdk", args.sysroot,
670-
"-target", "x86_64-apple-macosx10.10"]
670+
"-target", "x86_64-apple-macosx10.10",
671+
"-Xlinker", "-install_name", "-Xlinker", "@rpath/libPackageDescription.dylib"]
671672
else:
672673
# We include an RPATH entry so that the Swift libraries can be found
673674
# relative to where it will be installed (in 'lib/swift/pm/<version>/...').

0 commit comments

Comments
 (0)