summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2014-02-16 14:22:25 -0600
committerCraig A. Berry <craigberry@mac.com>2014-02-16 14:22:25 -0600
commitbfb2a8f90476eee2c32387320b53f4f8aeead825 (patch)
treec23883565da6cf139464eb825527bd8c1c3c65c6 /makedef.pl
parent4a2e143cff36871f89b48256c155d0025555cd75 (diff)
downloadperl-bfb2a8f90476eee2c32387320b53f4f8aeead825.tar.gz
Exclude Perl_my_setlocale symbol where it's not defined.
Because makedef.pl doesn't take into account the various ifdefs in embed.fnc, it must repeat their logic by maintaining various sets of platform-specific inclusions and exclusions. Perl_my_setlocale was added in b385bb4ddcb for Win32 only, so we shouldn't be telling the linker to export it except on Win32.
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/makedef.pl b/makedef.pl
index 27f71ff19c..8b972a4c67 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -235,6 +235,12 @@ if ($ARGS{PLATFORM} ne 'vms') {
}
}
+if ($ARGS{PLATFORM} ne 'win32') {
+ ++$skip{$_} foreach qw(
+ Perl_my_setlocale
+ );
+}
+
unless ($define{UNLINK_ALL_VERSIONS}) {
++$skip{Perl_unlnk};
}