--- ruby-3.0.2/configure 2021-09-16 14:10:42.314091669 -0700 +++ ruby-3.0.2/configure 2021-09-18 19:14:21.633876942 -0700 @@ -28610,7 +28610,7 @@ *) : ;; esac ;; #( - linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku*) : + linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | serenity* | haiku*) : : ${LDSHARED='$(CC) -shared'} if test "$rb_cv_binary_elf" = yes; then :