diff options
Diffstat (limited to 'Library/Formula/node.rb')
| -rw-r--r-- | Library/Formula/node.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index eb1e30c80..e36b4d213 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -27,6 +27,12 @@ class Node < Formula end def install + # This fixes an issue with npm segfaulting. See: + # https://github.com/joyent/node/issues/2061 + # This can be removed when some version newer than 7.7 lands + # that has this fix. When updating this formula, please check! + ENV.append_to_cflags '-D__DARWIN_64_BIT_INO_T' + unless ARGV.build_devel? inreplace 'wscript' do |s| s.gsub! '/usr/local', HOMEBREW_PREFIX |
