diff options
| author | Misty De Meo | 2013-02-22 10:21:36 -0600 |
|---|---|---|
| committer | Misty De Meo | 2013-02-22 10:21:36 -0600 |
| commit | 4d1ef71dc065ef674154cbd0cf809be1fa3db0f3 (patch) | |
| tree | a94431764603356257d90a6ed6667d9875b2d6eb /Library/Formula/vim.rb | |
| parent | 5b1d5cced6d7f01bd7f1f5e75991a65031ff3056 (diff) | |
| download | homebrew-4d1ef71dc065ef674154cbd0cf809be1fa3db0f3.tar.bz2 | |
vim: disable stripping
With stripping enabled, vim will segfault when calling a statically-
linked interpreter like ruby.
Fixes #17904.
Diffstat (limited to 'Library/Formula/vim.rb')
| -rw-r--r-- | Library/Formula/vim.rb | 5 |
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 |
