WIP: openssl: set KERNEL_BITS to make ./config work

Why OpenSSL refuses to build without this (it explicitly warns about it)
is a mystery.
This commit is contained in:
Ben Boeckel 2015-11-19 17:51:44 -05:00
parent 8feaefadcf
commit 150e43f3fd

View File

@ -15,6 +15,8 @@ class Openssl(Package):
parallel = False parallel = False
def install(self, spec, prefix): def install(self, spec, prefix):
env['KERNEL_BITS'] = '64' # Only on 64-bit Mac
config = Executable("./config") config = Executable("./config")
config("--prefix=%s" % prefix, config("--prefix=%s" % prefix,
"--openssldir=%s/etc/openssl" % prefix, "--openssldir=%s/etc/openssl" % prefix,