aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/alpine-change-rpath-to-rustlib.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-11-23 14:32:01 +0100
committerRasmus Thomsen <oss@cogitri.dev>2019-11-24 00:18:10 +0100
commit04ce325809f0ccdb7207868f42253c55a47b921c (patch)
tree09bc66658e1d9bb67c37992a06019b37cac5f2b6 /community/rust/alpine-change-rpath-to-rustlib.patch
parent5186561bb8442f65021d73102981dc822a11c4e9 (diff)
downloadaports-04ce325809f0ccdb7207868f42253c55a47b921c.tar.bz2
aports-04ce325809f0ccdb7207868f42253c55a47b921c.tar.xz
community/rust: upgrade to 1.39.0
Diffstat (limited to 'community/rust/alpine-change-rpath-to-rustlib.patch')
-rw-r--r--community/rust/alpine-change-rpath-to-rustlib.patch8
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") &&