Skip to content

Commit 6ffd530

Browse files
author
Martijn van de Streek
committed
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
1 parent b62d0a5 commit 6ffd530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ sub die_with_sample {
3737
};
3838

3939
my %builds = (
40-
"64bit" => "-Duse64bitall",
41-
"64bit,threaded" => "-Dusethreads -Duse64bitall",
40+
"64bit" => "-Duse64bitall -Duseshrplib",
41+
"64bit,threaded" => "-Dusethreads -Duse64bitall -Duseshrplib",
4242
);
4343

4444
die_with_sample unless defined $yaml->{releases};

0 commit comments

Comments
 (0)