Skip to content

Commit

Permalink
makedef.pl: Skip locale thread symbols when necessary
Browse files Browse the repository at this point in the history
Since 48d447b we don't have these symbols when building without
threads, so exclude them from the symbol list when setting up the
symbols for strict linkers.
  • Loading branch information
craigberry committed Feb 22, 2024
1 parent 2bb889f commit 78302ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions makedef.pl
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,11 @@ sub readvar {
);
}

unless ($define{'USE_THREADS'}) {
++$skip{Perl_thread_locale_init};
++$skip{Perl_thread_locale_term};
}

unless ($define{USE_POSIX_2008_LOCALE})
{
++$skip{$_} foreach qw(
Expand Down

0 comments on commit 78302ab

Please sign in to comment.