vim: disable stripping

With stripping enabled, vim will segfault when calling a statically-
linked interpreter like ruby.

Fixes #17904.
This commit is contained in:
Misty De Meo committed 2013-02-22 10:21:36 -06:00
1 parent 5b1d5cced6
commit 4d1ef71dc0
1 file changed
+4 -1
+4 -1
View File
@@ -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