From fee1e499fbc0f430b5a32d4f978e54ea740cc50f Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 25 Feb 2013 12:44:56 -0600 Subject: [PATCH] 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. --- bin/ruby-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ruby-build b/bin/ruby-build index e30257b65c..b95f3c4c86 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -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.