mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Fix C++ support: set $target{cxx} correctly
Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
e7b69227ca
commit
83bd048e9d
@ -962,6 +962,7 @@ $config{perl} = ($^O ne "VMS" ? $^X : "perl");
|
|||||||
$config{hashbangperl} =
|
$config{hashbangperl} =
|
||||||
$ENV{'HASHBANGPERL'} || $ENV{'PERL'} || "/usr/bin/env perl";
|
$ENV{'HASHBANGPERL'} || $ENV{'PERL'} || "/usr/bin/env perl";
|
||||||
$target{cc} = $ENV{'CC'} || $target{cc} || "cc";
|
$target{cc} = $ENV{'CC'} || $target{cc} || "cc";
|
||||||
|
$target{cxx} = $ENV{'CXX'} || $target{cxx} || "c++";
|
||||||
$target{ranlib} = $ENV{'RANLIB'} || $target{ranlib} ||
|
$target{ranlib} = $ENV{'RANLIB'} || $target{ranlib} ||
|
||||||
(which("$config{cross_compile_prefix}ranlib") ?
|
(which("$config{cross_compile_prefix}ranlib") ?
|
||||||
"\$(CROSS_COMPILE)ranlib" : "true");
|
"\$(CROSS_COMPILE)ranlib" : "true");
|
||||||
|
Loading…
Reference in New Issue
Block a user