diff options
| author | Rike-Benjamin Schuppner | 2014-06-09 14:46:09 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-06-09 06:57:15 -0700 |
| commit | d8af29d63a5b94ffee863788210c3a895315035f (patch) | |
| tree | c94d70773d8f995dfb57dd048e70b88cf74e75b5 /Library/Formula/macvim.rb | |
| parent | dc2c54a82ea57020843e266279202335ccfad0b6 (diff) | |
| download | homebrew-d8af29d63a5b94ffee863788210c3a895315035f.tar.bz2 | |
macvim: Fix python2.7 include errors.
Explicitly adding the python2.7 framework to CFLAGS.
Closes #29940.
Closes #29994.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/macvim.rb')
| -rw-r--r-- | Library/Formula/macvim.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 76803266a..7f96e9278 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -75,6 +75,7 @@ class Macvim < Formula # See https://github.com/Homebrew/homebrew/issues/17908 py_prefix = Pathname.new `python-config --prefix`.chomp ENV.prepend "LDFLAGS", "-L#{py_prefix}/lib/python2.7/config -F#{py_prefix.parent.parent.parent}" + ENV.prepend "CFLAGS", "-F#{py_prefix.parent.parent.parent}" args << "--enable-pythoninterp" else |
