diff options
Diffstat (limited to 'Library/Formula/pygobject.rb')
| -rw-r--r-- | Library/Formula/pygobject.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/pygobject.rb b/Library/Formula/pygobject.rb index 969950389..f60ebb54c 100644 --- a/Library/Formula/pygobject.rb +++ b/Library/Formula/pygobject.rb @@ -7,6 +7,7 @@ class Pygobject < Formula depends_on 'pkg-config' => :build depends_on 'glib' + depends_on :python option :universal @@ -17,9 +18,11 @@ class Pygobject < Formula def install ENV.universal_binary if build.universal? - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--disable-introspection" - system "make install" + python do + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--disable-introspection" + system "make install" + end end end |
