Skip to content

Commit fee1e49

Browse files
committed
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.
1 parent c59f4a7 commit fee1e49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/ruby-build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ build_package_mac_openssl() {
548548
export KERNEL_BITS="64"
549549
OPENSSL_CONFIGURE="${OPENSSL_CONFIGURE:-./config}"
550550

551-
# Compile with zlib, no kerberos, and do a static build.
552-
package_option openssl configure --openssldir="$OPENSSLDIR" zlib no-krb5 no-shared
551+
# Compile a shared lib with zlib dynamically linked, no kerberos.
552+
package_option openssl configure --openssldir="$OPENSSLDIR" zlib-dynamic no-krb5 shared
553553

554554
# Default MAKE_OPTS are -j 2 which can confuse the build. Thankfully, make
555555
# gives precedence to the last -j option, so we can override that.

0 commit comments

Comments
 (0)