aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-07-23 16:08:05 -0700
committerAdam Vandenberg2012-07-23 16:08:05 -0700
commitecb09ba39640c9942ade172595050bbc55d0db78 (patch)
treef49b92c65a969e13e66ecf8a3ed85bd761a75d21 /Library
parent726ea14669fb51638100fd3176caad038a61af05 (diff)
downloadhomebrew-ecb09ba39640c9942ade172595050bbc55d0db78.tar.bz2
doctor: check for DYLD_FALLBACK_LIBRARY_PATH
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index e510b7e84..90795d975 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -573,7 +573,7 @@ def check_for_config_scripts
end
end
-def check_for_dyld_vars
+def check_for_DYLD_LIBRARY_PATH
if ENV['DYLD_LIBRARY_PATH']
<<-EOS.undent
Setting DYLD_LIBRARY_PATH can break dynamic linking.
@@ -582,6 +582,15 @@ def check_for_dyld_vars
end
end
+def check_for_DYLD_FALLBACK_LIBRARY_PATH
+ if ENV['DYLD_FALLBACK_LIBRARY_PATH']
+ <<-EOS.undent
+ Setting DYLD_FALLBACK_LIBRARY_PATH can break dynamic linking.
+ You should probably unset it.
+ EOS
+ end
+end
+
def check_for_DYLD_INSERT_LIBRARIES
if ENV['DYLD_INSERT_LIBRARIES']
<<-EOS.undent