aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-12 21:14:33 -0700
committerAdam Vandenberg2012-03-12 21:14:33 -0700
commite133cba770bafdcd58b11a01838109eec438c97a (patch)
tree8d595d6e2ae5bf52c120cc548554f9e1344f4d21
parent5aa6aefa9664597ae9f004a9e0cb58edd31a2d6e (diff)
downloadbrew-e133cba770bafdcd58b11a01838109eec438c97a.tar.bz2
brew doctor: check for DYLD_INSERT_LIBRARIES
-rw-r--r--Library/Homebrew/cmd/doctor.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 9813e30db..5e6b982c3 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