diff --git a/Formula/ansible.rb b/Formula/ansible.rb index ac21de5730a..709fad82363 100644 --- a/Formula/ansible.rb +++ b/Formula/ansible.rb @@ -546,7 +546,7 @@ class Ansible < Formula def install # https://github.com/Homebrew/homebrew-core/issues/7197 - ENV.prepend "CPPFLAGS", "-I#{MacOS.sdk.path}/usr/include/ffi" + ENV.prepend "CPPFLAGS", "-I#{MacOS.sdk_path}/usr/include/ffi" inreplace "lib/ansible/constants.py" do |s| s.gsub! "/usr/share/ansible", pkgshare