[openssl-dev] [PATCH] [openssl.org #2558] [patch] make windres controllable via build env var settings

Roumen Petrov via RT rt at openssl.org
Sun Mar 8 09:26:09 UTC 2015


Mike Frysinger via RT wrote:
> atm, the windres code in openssl is only usable via the cross-compile prefix
> option unlike all the other build tools.  So add support for the standard $RC
> / $WINDRES env vars as well.
> ---
> [SNIP]
>   	else	{
>   		s/^CC=.*$/CC= $cc/;
>   		s/^AR=\s*ar/AR= $ar/;
>   		s/^RANLIB=.*/RANLIB= $ranlib/;
> +		s/^WINDRES=\s*/WINDRES= \$\(CROSS_COMPILE\)/;
>   		s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc" || ($cc eq 'cc' && $target =~ /darwin/);
>   		}
Is above line correct ?

[SNIP]
Regards,
Roumen




More information about the openssl-dev mailing list