qt, qt5: fix universal ENV placement.

This commit is contained in:
Mike McQuaid 2013-08-04 16:50:33 -07:00
parent 7a3cfb30dc
commit bc1caae969
2 changed files with 2 additions and 4 deletions

View file

@ -25,9 +25,8 @@ class Qt < Formula
depends_on "d-bus" if build.with? 'qtdbus' depends_on "d-bus" if build.with? 'qtdbus'
depends_on "mysql" => :optional depends_on "mysql" => :optional
ENV.universal_binary if build.universal?
def install def install
ENV.universal_binary if build.universal?
ENV.append "CXXFLAGS", "-fvisibility=hidden" ENV.append "CXXFLAGS", "-fvisibility=hidden"
args = ["-prefix", prefix, args = ["-prefix", prefix,

View file

@ -25,9 +25,8 @@ class Qt5 < Formula
depends_on "d-bus" if build.include? 'with-qtdbus' depends_on "d-bus" if build.include? 'with-qtdbus'
depends_on "mysql" => :optional depends_on "mysql" => :optional
ENV.universal_binary if build.universal?
def install def install
ENV.universal_binary if build.universal?
args = ["-prefix", prefix, args = ["-prefix", prefix,
"-system-zlib", "-system-zlib",
"-confirm-license", "-opensource"] "-confirm-license", "-opensource"]