Commit fee1e499 authored by Jeremy Kemper's avatar Jeremy Kemper
Browse files

Build a shared openssl to link to Ruby as a stopgap to fix build issues some...

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.
parent c59f4a74
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.