Skip to content

Commit

Permalink
copy libmcfgthread-1.dll to perl/bin if it exists
Browse files Browse the repository at this point in the history
This is needed for gcc-13 builds.
  • Loading branch information
shawnlaffan committed May 2, 2023
1 parent 2ff231a commit 25410d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Perl/Dist/Strawberry/Step/InstallPerlCore.pm
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ sub run {
copy($from, catfile($image_dir, qw/perl bin libstdc++-6.dll/)) if -f $from;
$from = catfile($image_dir, qw/c bin libwinpthread-1.dll/);
copy($from, catfile($image_dir, qw/perl bin libwinpthread-1.dll/)) if -f $from;
$from = catfile($image_dir, qw/c bin libmcfgthread-1.dll/);
copy($from, catfile($image_dir, qw/perl bin libmcfgthread-1.dll/)) if -f $from;

# Delete a2p.exe (Can't relocate a binary).
my $a = catfile($image_dir, 'perl', 'bin', 'a2p.exe');
Expand Down

0 comments on commit 25410d3

Please sign in to comment.