From 1b7449967fe442b175f7cf04d20441ca273bdcd9 Mon Sep 17 00:00:00 2001 From: Ankit Aggarwal Date: Mon, 23 Mar 2020 08:12:58 -0700 Subject: [PATCH] [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. --- Utilities/bootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Utilities/bootstrap b/Utilities/bootstrap index 7813411bc15..5f0478de8d2 100755 --- a/Utilities/bootstrap +++ b/Utilities/bootstrap @@ -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//...').