diff options
| author | Jack Nagel | 2014-10-26 22:30:28 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-26 22:30:28 -0500 |
| commit | 29ba8d8533eb586f0c25638686388f80c9074710 (patch) | |
| tree | 0a5c8c175bcb2c3ca2b929a8f178f45687210769 /Library/Formula/python3.rb | |
| parent | ad8be31f74a86c2cc16a25550dc1f47054c71a8e (diff) | |
| download | homebrew-29ba8d8533eb586f0c25638686388f80c9074710.tar.bz2 | |
Use opt helpers instead of hardcoded paths
Diffstat (limited to 'Library/Formula/python3.rb')
| -rw-r--r-- | Library/Formula/python3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 354bba5b3..f3978ae9a 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -192,7 +192,7 @@ class Python3 < Formula # superenv makes cc always find includes/libs! inreplace "setup.py", "do_readline = self.compiler.find_library_file(lib_dirs, 'readline')", - "do_readline = '#{HOMEBREW_PREFIX}/opt/readline/lib/libhistory.dylib'" + "do_readline = '#{Formula["readline"].opt_lib}/libhistory.dylib'" end def distutils_fix_stdenv |
