libxml2: python bindings optional for OS X 10.6
This commit is contained in:
parent
d0f836e20c
commit
43df48c090
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,11 @@ class Libxml2 < Formula
|
|||
depends_on :libtool
|
||||
else
|
||||
# 2.9.1 cannot build with Python 2.6: https://github.com/mxcl/homebrew/issues/20249
|
||||
depends_on :python => ["2.7", :recommended]
|
||||
if MacOS.version <= :snow_leopard
|
||||
depends_on :python => ["2.7", :optional]
|
||||
else
|
||||
depends_on :python => ["2.7", :recommended]
|
||||
end
|
||||
end
|
||||
|
||||
fails_with :llvm do
|
||||
|
|
Loading…
Reference in a new issue