summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2007-06-27 08:34:12 -0700
committerSteve Hay <SteveHay@planit.com>2007-06-28 10:11:15 +0000
commit9fb265f7d587e571375a3a5fdb05c24fd9d10d91 (patch)
tree44de97dd1d5136d4f06948e9d7aec6ec5937de19 /makedef.pl
parent5be5c7a687aa37f2ea9dec7988eb57cad1f1ec24 (diff)
downloadperl-9fb265f7d587e571375a3a5fdb05c24fd9d10d91.tar.gz
RE: Problem in Win32CORE when building PAR-Packer-0.975 with bleadperl on Win32
From: "Jan Dubois" <jand@activestate.com> Message-ID: <02bd01c7b90b$49863720$dc92a560$@com> Rearranges the initialization of Win32CORE. The Perl interpreter isn't fully initialized when Perl_init_os_extras() in win32/win32.c is called, so it is not safe to use the Perl calling mechanism yet. Fixes a problem building PAR-Packer on Win32. p4raw-id: //depot/perl@31490
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/makedef.pl b/makedef.pl
index f0e359d794..b16a0aa0f2 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -1539,6 +1539,8 @@ foreach my $symbol (@stat_mods)
try_symbol($symbol);
}
+try_symbol("init_Win32CORE") if $static_ext =~ /\bWin32CORE\b/;
+
# Now all symbols should be defined because
# next we are going to output them.