diff options
Diffstat (limited to 'community/rust/alpine-change-rpath-to-rustlib.patch')
-rw-r--r-- | community/rust/alpine-change-rpath-to-rustlib.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/community/rust/alpine-change-rpath-to-rustlib.patch b/community/rust/alpine-change-rpath-to-rustlib.patch index 3eb1a5d02e..8e3e018500 100644 --- a/community/rust/alpine-change-rpath-to-rustlib.patch +++ b/community/rust/alpine-change-rpath-to-rustlib.patch @@ -22,12 +22,12 @@ Related upstream issues: * https://github.com/rust-lang/rust/issues/37971 * https://github.com/rust-lang-nursery/rustup.rs/issues/837 ---- a/src/bootstrap/bin/rustc.rs -+++ b/src/bootstrap/bin/rustc.rs -@@ -224,11 +224,11 @@ +--- a/src/bootstrap/builder.rs ++++ b/src/bootstrap/builder.rs +@@ -967,11 +967,11 @@ // so. Note that this is definitely a hack, and we should likely // flesh out rpath support more fully in the future. - cmd.arg("-Z").arg("osx-rpath-install-name"); + rustflags.arg("-Zosx-rpath-install-name"); - Some("-Wl,-rpath,@loader_path/../lib") + Some("-Wl,-rpath,@loader_path/../lib".to_string()) } else if !target.contains("windows") && |