From a1f4e9dc732d546f737cf6bd6750dc991025fdd1 Mon Sep 17 00:00:00 2001 From: Tim D. Smith Date: Fri, 10 Oct 2014 14:55:45 -0700 Subject: xapian: fix python bindings with system Python Closes #33085. Fixes #33082. --- Library/Formula/xapian.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') diff --git a/Library/Formula/xapian.rb b/Library/Formula/xapian.rb index da81db43f..2db493a0e 100644 --- a/Library/Formula/xapian.rb +++ b/Library/Formula/xapian.rb @@ -54,6 +54,8 @@ class Xapian < Formula if build.with? 'python' (lib+'python2.7/site-packages').mkpath ENV['PYTHON_LIB'] = lib+'python2.7/site-packages' + # configure looks for python2 and system python doesn't install one + ENV["PYTHON"] = which "python" args << "--with-python" else args << "--without-python" -- cgit v1.2.3