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//...').