diff options
author | Richard Levitte <levitte@openssl.org> | 2016-10-14 17:44:25 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-10-14 17:52:22 +0200 |
commit | 83bd048e9dbe5f376b2feaa7f0a6db6d98ef3a47 (patch) | |
tree | 6d62f8ba20ece26172772ea4857e64ee056f7151 /Configure | |
parent | e7b69227ca35b7fa7ab7bc53099998a354e690da (diff) |
Fix C++ support: set $target{cxx} correctly
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |