diff options
| author | Mike McQuaid | 2013-08-04 16:34:19 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-08-04 16:34:56 -0700 |
| commit | 78bd65d2a39d98a84c37e45a8c84466942c407b8 (patch) | |
| tree | 9b38e5d3f2494e42b4e2280b531ca3ad71d68102 /Library/Formula | |
| parent | 485a79191ad57a080fd4f99ee73b28aff117b961 (diff) | |
| download | homebrew-78bd65d2a39d98a84c37e45a8c84466942c407b8.tar.bz2 | |
qt, qt5: fix universal builds with superenv.
Fixes #21534.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/qt5.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index d820e5ff1..0f54aa523 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -25,7 +25,7 @@ class Qt < Formula depends_on "d-bus" if build.with? 'qtdbus' depends_on "mysql" => :optional - env :std if build.universal? + ENV.universal_binary if build.universal? def install ENV.append "CXXFLAGS", "-fvisibility=hidden" diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index c3bb486e3..8aa5a8e51 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -19,7 +19,7 @@ class Qt5 < Formula depends_on "d-bus" if build.include? 'with-qtdbus' depends_on "mysql" => :optional - env :std if build.universal? + ENV.universal_binary if build.universal? def install args = ["-prefix", prefix, |
