aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/python_helper.rb
diff options
context:
space:
mode:
authorSamuel John2013-06-06 14:24:15 +0200
committerSamuel John2013-06-06 14:24:15 +0200
commitd748aed6093f6dbf3407381cac4bccc0b984ade2 (patch)
tree9af8ae0740078f1bdff849ac083eff6ea7aa45f8 /Library/Homebrew/python_helper.rb
parent432545f2583a5b3aa1ad1476a5eb40dc25a4e44e (diff)
downloadhomebrew-d748aed6093f6dbf3407381cac4bccc0b984ade2.tar.bz2
depends_on :python don't set any LDFLAGS
Setting LDFLAGS to `-F HOMEBREW_PREFIX/opt/python/Frameworks` breaks at least the scipy build. Perhaps others, too.
Diffstat (limited to 'Library/Homebrew/python_helper.rb')
-rw-r--r--Library/Homebrew/python_helper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/python_helper.rb b/Library/Homebrew/python_helper.rb
index 2d2c5112b..4a0095de4 100644
--- a/Library/Homebrew/python_helper.rb
+++ b/Library/Homebrew/python_helper.rb
@@ -64,7 +64,6 @@ def python_helper(options={:allowed_major_versions => [2, 3]}, &block)
ENV.prepend 'CMAKE_INCLUDE_PATH', py.incdir, ':'
ENV.prepend 'PKG_CONFIG_PATH', py.pkg_config_path, ':' if py.pkg_config_path
ENV.prepend 'PATH', py.binary.dirname, ':' unless py.from_osx?
- ENV.prepend 'LDFLAGS', "-F#{py.framework}" if py.brewed?
# Track the state of the currently selected python for this block,
# so if this python_helper is called again _inside_ the block,
# we can just return the right python (see `else`-branch a few lines down):