Build a shared openssl to link to Ruby as a stopgap to fix build issues some people are having, pending understanding why static linking isn't working.

This commit is contained in:
Jeremy Kemper 2013-02-25 12:44:56 -06:00
parent c59f4a7450
commit fee1e499fb

View file

@ -548,8 +548,8 @@ build_package_mac_openssl() {
export KERNEL_BITS="64"
OPENSSL_CONFIGURE="${OPENSSL_CONFIGURE:-./config}"
# Compile with zlib, no kerberos, and do a static build.
package_option openssl configure --openssldir="$OPENSSLDIR" zlib no-krb5 no-shared
# Compile a shared lib with zlib dynamically linked, no kerberos.
package_option openssl configure --openssldir="$OPENSSLDIR" zlib-dynamic no-krb5 shared
# Default MAKE_OPTS are -j 2 which can confuse the build. Thankfully, make
# gives precedence to the last -j option, so we can override that.