On 3/1/25 2:53 PM, Frank Wagner wrote:
> Update the SSL library names for Windows builds to match the current
> library names.
> 
> Signed-off-by: Frank Wagner <frank.wag...@dbosoft.eu>
> 
> ---
>  m4/ax_check_openssl.m4 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4
> index 281d4dc65..faa5babde 100644
> --- a/m4/ax_check_openssl.m4
> +++ b/m4/ax_check_openssl.m4
> @@ -81,7 +81,8 @@ AC_DEFUN([AX_CHECK_OPENSSL], [
>                  SSL_INCLUDES="-I$ssldir/include"
>                  SSL_LDFLAGS="-L$ssldir/lib"
>                  if test "$WIN32" = "yes"; then
> -                    SSL_LIBS="-lssleay32 -llibeay32"
> +                    SSL_LDFLAGS="$SSL_LDFLAGS -L$ssldir/lib/VC/x64/MT"
> +                    SSL_LIBS="-llibssl -llibcrypto"
>                      SSL_DIR=/$(echo ${ssldir} | ${SED} -e 's/://')
>                  else
>                      SSL_LIBS="-lssl -lcrypto"

Thanks, Frank!  I didn't really test this yet but it matches what OVS
does for Windows builds:

Acked-by: Dumitru Ceara <dce...@redhat.com>

Regards,
Dumitru

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to