aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/vim.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/vim.rb b/Library/Formula/vim.rb
index ab08a2fdf..b4f7c0459 100644
--- a/Library/Formula/vim.rb
+++ b/Library/Formula/vim.rb
@@ -50,6 +50,9 @@ class Vim < Formula
"--with-features=huge",
*language_opts
system "make"
- system "make", "install", "prefix=#{prefix}"
+ # If stripping the binaries is not enabled, vim will segfault with
+ # statically-linked interpreters like ruby
+ # http://code.google.com/p/vim/issues/detail?id=114&thanks=114&ts=1361483471
+ system "make", "install", "prefix=#{prefix}", "STRIP=/usr/bin/true"
end
end