diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gtest.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/gtest.rb b/Library/Formula/gtest.rb index 1457c8cb2..fbac67ff0 100644 --- a/Library/Formula/gtest.rb +++ b/Library/Formula/gtest.rb @@ -5,7 +5,15 @@ class Gtest < Formula homepage 'http://code.google.com/p/googletest/' md5 '7e27f5f3b79dd1ce9092e159cdbd0635' + def options + [ + ["--universal", "Build for both 32 & 64 bit Intel."], + ] + end + def install + ENV.universal_binary if ARGV.build_universal? + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" # gtest-config tries to be clever in locating libraries, but Homebrew's # Cellar confuses it. This lets `gtest-config --libs` work correctly |
