gobject-introspection: add Homebrew's Python to PATH on <= Mavericks (#23372)

This commit is contained in:
Dominyk Tiller 2018-01-28 05:27:30 +00:00 committed by ilovezfs
parent b136bdb04c
commit 84ee62f5d9

View file

@ -28,6 +28,7 @@ class GobjectIntrospection < Formula
s.change_make_var! "GOBJECT_INTROSPECTION_LIBDIR", "#{HOMEBREW_PREFIX}/lib"
end
ENV.prepend_path "PATH", Formula["python"].opt_libexec/"bin" if MacOS.version <= :mavericks
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "PYTHON=python"
system "make"
system "make", "install"