aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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