Add -Duseshrplib to build flags to build a shared libperl.so

Perl's ./Configure can be asked to build a shared library, libperl.so,
which is required by some modules from CPAN (like Imagemagick), or when
you want to embed the Perl interpreter in your own programs.

However, because there may be a performance penalty, the "old" static
builds have not been removed.

More information can be found in the installation manual at
https://metacpan.org/pod/distribution/perl/INSTALL#Building-a-shared-Perl-library
This commit is contained in:
Martijn van de Streek 2016-04-04 08:46:33 +02:00
parent b62d0a5fd9
commit 6ffd530ae2

View file

@ -37,8 +37,8 @@ my $template = do {
}; };
my %builds = ( my %builds = (
"64bit" => "-Duse64bitall", "64bit" => "-Duse64bitall -Duseshrplib",
"64bit,threaded" => "-Dusethreads -Duse64bitall", "64bit,threaded" => "-Dusethreads -Duse64bitall -Duseshrplib",
); );
die_with_sample unless defined $yaml->{releases}; die_with_sample unless defined $yaml->{releases};