Wrong architecture for OS X 10.5
This commit is contained in:
parent
9f8b349dd7
commit
2a61971dfa
1 changed files with 7 additions and 1 deletions
|
@ -9,7 +9,13 @@ class Openssl <Formula
|
|||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
system "./Configure", "darwin64-x86_64-cc", "shared", "zlib-dynamic", "--prefix=#{prefix}"
|
||||
config_flags = ["shared", "zlib-dynamic", "--prefix=#{prefix}"]
|
||||
config_flags << if Hardware.is_64_bit? and MACOS_VERSION == 10.6
|
||||
"darwin64-x86_64-cc"
|
||||
else
|
||||
"darwin-i386-cc"
|
||||
end
|
||||
system "./Configure", *config_flags
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue