aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-02-11 09:00:19 +0000
committerMike McQuaid2014-02-11 09:00:21 +0000
commite55b0edee1cc477e10b313534e6f4a977b84f984 (patch)
tree435db22d60eb0d147a7634cb7575222f8c136da0 /Library/Formula/python3.rb
parent77f2c8c29c697735325110a2762ad35373c8e4ff (diff)
downloadhomebrew-e55b0edee1cc477e10b313534e6f4a977b84f984.tar.bz2
python3: create python3-config symlink.
Closes #26608.
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 4614498b2..221cf7fb5 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -136,7 +136,8 @@ class Python3 < Formula
# "python3" executable is forgotten for framework builds.
# Make sure homebrew symlinks it to HOMEBREW_PREFIX/bin.
- ln_s "#{bin}/python#{VER}", "#{bin}/python3" unless (bin/"python3").exist?
+ ln_sf "#{bin}/python#{VER}", "#{bin}/python3"
+ ln_sf "#{bin}/python#{VER}-config", "#{bin}/python3-config"
# Remove old setuptools installations that may still fly around and be
# listed in the easy_install.pth. This can break setuptools build with