dockerfile/examples/openssl/openssl-3.2.1-src/Configurations/platform.pm

19 lines
304 B
Perl
Raw Normal View History

2024-03-22 14:58:37 +08:00
package platform;
use strict;
use warnings;
use vars qw(@ISA);
# Callers must make sure @INC has the build directory
use configdata;
my $module = $target{perl_platform} || 'Unix';
(my $module_path = $module) =~ s|::|/|g;
require "platform/$module_path.pm";
@ISA = ("platform::$module");
1;
__END__