From: Richard Levitte Date: Fri, 14 Oct 2016 15:44:25 +0000 (+0200) Subject: Fix C++ support: set $target{cxx} correctly X-Git-Tag: OpenSSL_1_1_1-pre1~3376 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=83bd048e9dbe5f376b2feaa7f0a6db6d98ef3a47;p=oweals%2Fopenssl.git Fix C++ support: set $target{cxx} correctly Reviewed-by: Matt Caswell --- diff --git a/Configure b/Configure index f451f94f76..2da2a1a8c3 100755 --- a/Configure +++ b/Configure @@ -962,6 +962,7 @@ $config{perl} = ($^O ne "VMS" ? $^X : "perl"); $config{hashbangperl} = $ENV{'HASHBANGPERL'} || $ENV{'PERL'} || "/usr/bin/env perl"; $target{cc} = $ENV{'CC'} || $target{cc} || "cc"; +$target{cxx} = $ENV{'CXX'} || $target{cxx} || "c++"; $target{ranlib} = $ENV{'RANLIB'} || $target{ranlib} || (which("$config{cross_compile_prefix}ranlib") ? "\$(CROSS_COMPILE)ranlib" : "true");