This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In makedef.pl, export boot_* for static modules only on Win32 and WinCE.
authorNicholas Clark <nick@ccl4.org>
Fri, 29 Jul 2011 11:37:42 +0000 (13:37 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 1 Aug 2011 09:53:56 +0000 (11:53 +0200)
commit9661ac31cea34697b5b3481463c4f97203d2d572
tree45245429cbbb9661e8cf81866eec67918fa68676
parent3cf3941efbe7151eded0f3d115e71a544defdf77
In makedef.pl, export boot_* for static modules only on Win32 and WinCE.

The code as-is will only be run on Win32 and WinCE, because currently the
code to populate $static_ext is only run on Win32 and WinCE. As-is this code
can't be run on all platforms, because currently *nix (ie AIX) links static
extensions into the perl executable, rather than into the shared perl
library. Hence boot_* functions for static extensions aren't in the shared
perl library, so it would be an error to attempt to export them from it.
makedef.pl