aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/openssl.rb5
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