diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/qt.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 4e8d3cd76..76d10d382 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -33,9 +33,6 @@ class Qt < Formula end def install - # Needed for Qt 4.8.0 due to attempting to link moc with gcc. - ENV['LD'] = ENV['CXX'] - ENV.x11 ENV.append "CXXFLAGS", "-fvisibility=hidden" args = ["-prefix", prefix, @@ -84,6 +81,9 @@ class Qt < Formula # shipped with Xcode 4.3+ ENV.llvm if MacOS.clang_version.to_f <= 3.1 + # Needed for Qt 4.8.0 due to attempting to link moc with gcc. + ENV['LD'] = ENV['CXX'] + system "./configure", *args system "make" ENV.j1 |
