Created
September 8, 2021 08:22
-
-
Save arrowcircle/853708803f1353a5729794c3ed1df4dc to your computer and use it in GitHub Desktop.
Ruby 3 Catalina patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)" | |
rvm install 3.0.2 --patch ruby3-catalina.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 2dcebdde9f..b11809c6d5 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -191,6 +191,13 @@ AS_CASE(["${build_os}"], | |
], | |
[aix*], [ | |
AC_PATH_TOOL([NM], [nm], [/usr/ccs/bin/nm], [/usr/ccs/bin:$PATH]) | |
+], | |
+[darwin*], [ | |
+ AS_IF([libtool 2>&1 | grep no_warning_for_no_symbols > /dev/null], [ | |
+ ac_cv_prog_ac_ct_RANLIB=: | |
+ ac_cv_prog_ac_ct_AR='libtool -static' | |
+ rb_cv_arflags='-no_warning_for_no_symbols -o' | |
+ ]) | |
]) | |
AS_CASE(["${target_os}"], | |
[cygwin*|mingw*], [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment