Skip to content

Commit

Permalink
[bootstrap] Use the right install name for PackageDescription
Browse files Browse the repository at this point in the history
The install name didn't used to matter when we were evaluating the
manifests through the Swift interpreter.

<rdar://problem/60635550>
  • Loading branch information
aciidgh committed Mar 23, 2020
1 parent 0bd6361 commit 1b74499
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Utilities/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,8 @@ def process_runtime_libraries(build, args, lib_path):
"-Xlinker", "-all_load",
input_lib_path,
"-sdk", args.sysroot,
"-target", "x86_64-apple-macosx10.10"]
"-target", "x86_64-apple-macosx10.10",
"-Xlinker", "-install_name", "-Xlinker", "@rpath/libPackageDescription.dylib"]
else:
# We include an RPATH entry so that the Swift libraries can be found
# relative to where it will be installed (in 'lib/swift/pm/<version>/...').
Expand Down

0 comments on commit 1b74499

Please sign in to comment.