From 83bd048e9dbe5f376b2feaa7f0a6db6d98ef3a47 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 14 Oct 2016 17:44:25 +0200 Subject: [PATCH] Fix C++ support: set $target{cxx} correctly Reviewed-by: Matt Caswell --- Configure | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.25.1