This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Only export Perl_alloccopstash under threads.
authorCraig A. Berry <craigberry@mac.com>
Sun, 10 Jun 2012 02:48:22 +0000 (21:48 -0500)
committerCraig A. Berry <craigberry@mac.com>
Sun, 10 Jun 2012 14:33:59 +0000 (09:33 -0500)
commit61a2567250ea72759ac7b0b9ca18ce6b14f1f486
tree8e073341f3ffbd70c0364880553904465725b8c7
parent60c78852fa38199cfe9ba0708d46213f909cb5e0
Only export Perl_alloccopstash under threads.

It might make more sense for makedef.pl to more carefully examine
embed.fnc for what's a symbol to be exported only under threads and
what's not, but for now, we appear to be maintaining a hard-coded
list of symbols not to export when not under threads, so let's add
Perl_alloccopstash to the list.  Failing to do so breaks the
build on platforms where the linker is literal-minded about what
symbols it's been told to find in the export list.
makedef.pl