--- otp_src_28.0.1/lib/crypto/configure.orig +++ otp_src_28.0.1/lib/crypto/configure @@ -6926,21 +6926,8 @@ -std_ssl_locations="\ -/usr/local \ -/usr/sfw \ -/usr \ -/opt/local \ -/usr/pkg \ -/usr/local/openssl \ -/usr/local/opt/openssl \ -/opt/homebrew/opt/openssl \ -/usr/lib/openssl \ -/usr/openssl \ -/usr/local/ssl \ -/usr/lib/ssl \ -/usr/ssl \ -/" +std_ssl_locations="/usr" + # Check whether --with-ssl was given. @@ -7076,7 +7063,7 @@ # Setup subdirectories to search in... search_subdirs="lib" if test "$ac_cv_sizeof_void_p" = "8"; then - search_subdirs="$search_subdirs lib64 lib/64" + search_subdirs="lib/MACH64" else search_subdirs="$search_subdirs lib32 lib/32" fi @@ -8618,7 +8605,7 @@ # If none of the above links, we skip runtime # library path... # - for type in std x_std curr; do + for type in curr; do ded_ld_rpath="$ded_ld_rflg$SSL_RUNTIME_LIBDIR" rpath="$SSL_RUNTIME_LIBDIR" --- otp_src_28.0.1/lib/crypto/configure.ac.orig +++ otp_src_28.0.1/lib/crypto/configure.ac @@ -59,6 +59,7 @@ LM_WINDOWS_ENVIRONMENT ERL_DED +DED_EXT=so AC_MSG_CHECKING([for multiarch directory]) multiarch_dir= @@ -86,21 +87,7 @@ AC_CHECK_SIZEOF(void *) -std_ssl_locations="\ -/usr/local \ -/usr/sfw \ -/usr \ -/opt/local \ -/usr/pkg \ -/usr/local/openssl \ -/usr/local/opt/openssl \ -/opt/homebrew/opt/openssl \ -/usr/lib/openssl \ -/usr/openssl \ -/usr/local/ssl \ -/usr/lib/ssl \ -/usr/ssl \ -/" +std_ssl_locations="/usr" AC_ARG_WITH(ssl, AS_HELP_STRING([--with-ssl=PATH], [base location of OpenSSL include and lib directories]) @@ -400,7 +387,7 @@ # Setup subdirectories to search in... search_subdirs="lib" if test "$ac_cv_sizeof_void_p" = "8"; then - search_subdirs="$search_subdirs lib64 lib/64" + search_subdirs="lib/MACH64" else search_subdirs="$search_subdirs lib32 lib/32" fi @@ -752,7 +739,7 @@ # If none of the above links, we skip runtime # library path... # - for type in std x_std curr; do + for type in curr; do ded_ld_rpath="$ded_ld_rflg$SSL_RUNTIME_LIBDIR" rpath="$SSL_RUNTIME_LIBDIR"