Skip to content

Commit

Permalink
adding cxx as possible c++ compiler and a possible improvement to fin…
Browse files Browse the repository at this point in the history
…d_perl_interpreter
  • Loading branch information
rehsack authored and xdg committed Jul 28, 2010
1 parent 8a6717c commit 5ebdf24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ExtUtils/CBuilder/Base.pm
Expand Up @@ -22,7 +22,7 @@ $VERSION = '0.27_04';

my %cc2cxx = (
# first line order is important to support wrappers like in pkgsrc
cc => [ 'c++', 'CC', 'aCC', ], # Sun Studio, HP ANSI C/C++ Compilers
cc => [ 'c++', 'CC', 'aCC', 'cxx', ], # Sun Studio, HP ANSI C/C++ Compilers
gcc => [ 'g++' ], # GNU Compiler Collection
xlc => [ 'xlC' ], # IBM C/C++ Set, xlc without thread-safety
xlc_r => [ 'xlC_r' ], # IBM C/C++ Set, xlc with thread-safety
Expand Down Expand Up @@ -77,7 +77,7 @@ sub find_perl_interpreter {
my $perl;
File::Spec->file_name_is_absolute($perl = $^X)
or -f ($perl = $Config::Config{perlpath})
or ($perl = $^X);
or ($perl = $^X); # XXX how about using IPC::Cmd::can_run here?
return $perl;
}

Expand Down

0 comments on commit 5ebdf24

Please sign in to comment.