diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ansible.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/ansible.rb b/Library/Formula/ansible.rb index df245df9a..6f86b7e5f 100644 --- a/Library/Formula/ansible.rb +++ b/Library/Formula/ansible.rb @@ -48,6 +48,12 @@ class Ansible < Formula ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages' install_args = [ "setup.py", "install", "--prefix=#{libexec}" ] + # pycrypto's C bindings use flags unrecognized by clang, + # but since it doesn't use a makefile arg refurbishment + # is normally not enabled. + # See https://github.com/Homebrew/homebrew/issues/27639 + ENV.append 'HOMEBREW_CCCFG', 'O' + resource('pycrypto').stage { system "python", *install_args } resource('pyyaml').stage { system "python", *install_args } resource('paramiko').stage { system "python", *install_args } |
