aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rust.rb
diff options
context:
space:
mode:
authorSteven Fackler2014-02-12 21:20:27 -0800
committerAdam Vandenberg2014-02-13 19:54:34 -0800
commit03b69a5cdd1d987f88d0c886a2a67c7f355b8153 (patch)
tree0a26109ff56b828150545e08d8139931a6bf0317 /Library/Formula/rust.rb
parentbc4e44a6533d714355d3477b6f196769388ef64b (diff)
downloadhomebrew-03b69a5cdd1d987f88d0c886a2a67c7f355b8153.tar.bz2
Disable rpath usage in Rust builds
The rpaths end up being setup incorrectly, which causes strange issues like mozilla/rust#12178. Closes #26686. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/rust.rb')
-rw-r--r--Library/Formula/rust.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/rust.rb b/Library/Formula/rust.rb
index 3be69bf0c..71c1f62f6 100644
--- a/Library/Formula/rust.rb
+++ b/Library/Formula/rust.rb
@@ -20,6 +20,7 @@ class Rust < Formula
def install
args = ["--prefix=#{prefix}"]
+ args << "--disable-rpath" if build.head?
args << "--enable-clang" if ENV.compiler == :clang
system "./configure", *args
system "make"