blob: 1ac11d0ffd78b2cc69df338102e64c20bb8351e7 [file] [log] [blame]
Around the line of code this patches there is a long explanation of the rpath
but the gist of it was that better handling of the rpath would be done in the
future. For now, we just add the proper rpath.
diff --git a/src/bootstrap/ b/src/bootstrap/
index d0eed3f12d1..63c8c6ea0b0 100644
--- a/src/bootstrap/
+++ b/src/bootstrap/
@@ -1186,7 +1186,7 @@ impl<'a> Builder<'a> {
} else if !target.contains("windows") {
- Some("-Wl,-rpath,$ORIGIN/../lib")
+ Some("-Wl,-rpath,$ORIGIN/../lib:/usr/lib64/rust/rustlib/x86_64-unknown-linux-gnu/lib")
} else {