boost: don't use bottle if python brew installed.
Closes Homebrew/homebrew#20124.
This commit is contained in:
parent
7e80d1c0f3
commit
592280c68d
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,12 @@ class Boost < Formula
|
|||
cause "Dropped arguments to functions when linking with boost"
|
||||
end
|
||||
|
||||
def pour_bottle?
|
||||
# Don't use the bottle if there is a Homebrew python installed as users
|
||||
# will probably want to link against that instead.
|
||||
not Formula.factory('python').installed?
|
||||
end
|
||||
|
||||
def install
|
||||
# Adjust the name the libs are installed under to include the path to the
|
||||
# Homebrew lib directory so executables will work when installed to a
|
||||
|
|
Loading…
Reference in a new issue