summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2012-06-09 21:48:22 -0500
committerCraig A. Berry <craigberry@mac.com>2012-06-10 09:33:59 -0500
commit61a2567250ea72759ac7b0b9ca18ce6b14f1f486 (patch)
tree8e073341f3ffbd70c0364880553904465725b8c7 /makedef.pl
parent60c78852fa38199cfe9ba0708d46213f909cb5e0 (diff)
downloadperl-61a2567250ea72759ac7b0b9ca18ce6b14f1f486.tar.gz
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.
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/makedef.pl b/makedef.pl
index f309efb5f1..ce92ee15b3 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -358,6 +358,7 @@ unless ($define{'USE_ITHREADS'}) {
PL_stashpad
PL_stashpadix
PL_stashpadmax
+ Perl_alloccopstash
Perl_clone_params_del
Perl_clone_params_new
Perl_parser_dup