Skip to content
Snippets Groups Projects
Commit 9ede899d authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

Add expat.framework check to doctor

parent 618617da
No related branches found
No related tags found
No related merge requests found
...@@ -586,6 +586,20 @@ def check_for_other_vars ...@@ -586,6 +586,20 @@ def check_for_other_vars
end end
end end
def check_for_other_frameworks
# Other frameworks that are known to cause problems when present
if File.exist? "/Library/Frameworks/expat.framework"
puts <<-EOS.undent
/Library/Frameworks/expat.framework detected
This will be picked up by Cmake's build system and likey cause the
build to fail, trying to link to a 32-bit version of expat.
You may need to move this file out of the way to compile Cmake.
EOS
end
end
module Homebrew extend self module Homebrew extend self
def doctor def doctor
read, write = IO.pipe read, write = IO.pipe
...@@ -620,6 +634,7 @@ module Homebrew extend self ...@@ -620,6 +634,7 @@ module Homebrew extend self
check_for_git check_for_git
check_for_autoconf check_for_autoconf
check_for_linked_kegonly_brews check_for_linked_kegonly_brews
check_for_other_frameworks
exit! 0 exit! 0
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment