aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/py2cairo.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-01-06 10:59:10 +0000
committerMike McQuaid2014-01-06 10:59:10 +0000
commit7de742095e1e65de7440dbc3d3e6e24c5f095b86 (patch)
tree377a1b8e48ee979caa9b9320e6605f2dd09a60b1 /Library/Formula/py2cairo.rb
parent14d771654c12c62559c8c757e8c9f0444068c880 (diff)
downloadhomebrew-7de742095e1e65de7440dbc3d3e6e24c5f095b86.tar.bz2
py2cairo: try and fix Homebrew Python linking.
Diffstat (limited to 'Library/Formula/py2cairo.rb')
-rw-r--r--Library/Formula/py2cairo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/py2cairo.rb b/Library/Formula/py2cairo.rb
index fcaa70a41..17d3016b2 100644
--- a/Library/Formula/py2cairo.rb
+++ b/Library/Formula/py2cairo.rb
@@ -25,7 +25,7 @@ class Py2cairo < Formula
# https://github.com/Homebrew/homebrew/issues/12893
# https://github.com/Homebrew/homebrew/issues/14781
# https://bugs.freedesktop.org/show_bug.cgi?id=51544
- ENV['LINKFLAGS'] = "-L#{%x(python-config --prefix).chomp}/lib"
+ ENV['LINKFLAGS'] = "-L#{%x(python-config --prefix).chomp}/lib/python2.7/config"
system "./waf", "configure", "--prefix=#{prefix}", "--nopyc", "--nopyo"
system "./waf", "install"
end