From 2b046da5168bf43c0cb8f49f1dc99a289d25909d Mon Sep 17 00:00:00 2001 From: Samuel John Date: Wed, 19 Jun 2013 11:17:37 +0200 Subject: [PATCH] Qt: Link Framework correctly into brew prefix --- Formula/qt.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/qt.rb b/Formula/qt.rb index 13cbacd12e..e55d6762b7 100644 --- a/Formula/qt.rb +++ b/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