From e133cba770bafdcd58b11a01838109eec438c97a Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 12 Mar 2012 21:14:33 -0700 Subject: [PATCH] brew doctor: check for DYLD_INSERT_LIBRARIES --- Library/Homebrew/cmd/doctor.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 9813e30db4..5e6b982c30 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -552,6 +552,16 @@ def check_for_dyld_vars end end +def check_for_DYLD_INSERT_LIBRARIES + if ENV['DYLD_INSERT_LIBRARIES'] + <<-EOS.undent + Setting DYLD_INSERT_LIBRARIES can cause Go builds to fail. + Having this set is common if you use this software: + http://asepsis.binaryage.com/ + EOS + end +end + def check_for_symlinked_cellar if HOMEBREW_CELLAR.symlink? <<-EOS.undent