diff options
| author | Jack Nagel | 2014-12-20 12:25:18 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-20 12:25:18 -0500 |
| commit | e13d38307579a5cf8552d32cf15c04e6f28d22e5 (patch) | |
| tree | 4894dea01a1110541d6de42957da96a9b5b97e9f /Library/Formula | |
| parent | 63acf761dce7d2a500e75633612f55357ea0d61f (diff) | |
| download | homebrew-e13d38307579a5cf8552d32cf15c04e6f28d22e5.tar.bz2 | |
openssl: fix universal build on 32-bit cpu
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/openssl.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb index da80ea4cf..dcbb30e4a 100644 --- a/Library/Formula/openssl.rb +++ b/Library/Formula/openssl.rb @@ -63,7 +63,10 @@ class Openssl < Formula system "perl", "./Configure", *(configure_args + arch_args[arch]) system "make", "depend" system "make" - system "make", "test" if build.with? "check" + + if (MacOS.prefer_64_bit? || arch == MacOS.preferred_arch) && build.with?("check") + system "make", "test" + end if build.universal? cp Dir["*.?.?.?.dylib", "*.a", "apps/openssl"], dir |
