aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2013-06-19 11:17:37 +0200
committerSamuel John2013-06-19 11:17:37 +0200
commit75cd0dbfab16d9f6bd41d53ce1d8329318c84b06 (patch)
tree363db7d7cd2226f004a3dfc402105471a740c671 /Library
parentbc2c5963c7cd15fdda2c8ef7352e855e0635f803 (diff)
downloadhomebrew-75cd0dbfab16d9f6bd41d53ce1d8329318c84b06.tar.bz2
Qt: Link Framework correctly into brew prefix
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 13cbacd12..e55d6762b 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -119,9 +119,8 @@ class Qt < Formula
(prefix+'q3porting.xml').unlink if build.without? 'qt3support'
# Some config scripts will only find Qt in a "Frameworks" folder
- cd prefix do
- ln_s lib, frameworks
- end
+ frameworks.mkpath
+ ln_s Dir['lib/*.framework'], frameworks
# The pkg-config files installed suggest that headers can be found in the
# `include` directory. Make this so by creating symlinks from `include` to