We have not been correctly building this on VMS since the location
was changed in core because we have not been able to loate include
files. This mirrors the upstream patch at:
https://rt.cpan.org/Ticket/Display.html?id=63363
my $ccflags = $Config{'ccflags'} . ' ' . "-I$COREincdir";
if ($^O eq 'VMS') {
- if ($ENV{PERL_CORE}) {
- # Fragile if the extensions change hierarchy within
- # the Perl core but this should do for now.
- $cccmd = "$Config{'cc'} /include=([---]) $tmp.c";
- } else {
- my $perl_core = $Config{'installarchlib'};
- $perl_core =~ s/\]$/.CORE]/;
- $cccmd = "$Config{'cc'} /include=(perl_root:[000000],$perl_core) $tmp.c";
- }
+ $cccmd = "$Config{'cc'} /include=($COREincdir) $tmp.c";
}
if ($args{silent} || !$VERBOSE) {