summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2019-09-20 15:11:35 -0500
committerCraig A. Berry <craigberry@mac.com>2019-09-20 15:11:35 -0500
commite52e9867e0bd6d98a671cdfbdd7332fe3a22db61 (patch)
tree1f8454ab0259cc228775c5de62cbe8c4dc4cb88e /makedef.pl
parentd2cd363728088adada85312725ac9d96c29659be (diff)
downloadperl-e52e9867e0bd6d98a671cdfbdd7332fe3a22db61.tar.gz
makedef.pl: export symbols flagged as C
0923255565af0741 broke the build on any platform that does not promiscuously export all symbols from a shared library because it moved a bunch of symbols from being API (A flag) to core-only (C flag), but the new C flag was unknown to the program that generates the export list. Some of these functions are already used outside the core (such as by the Encode extension) so we can't simply pull the plug on them.
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index ce203c1fb0..f08a41bbd1 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -753,7 +753,7 @@ unless ($define{'USE_QUADMATH'}) {
foreach (@$embed) {
my ($flags, $retval, $func, @args) = @$_;
next unless $func;
- if (($flags =~ /[AX]/ && $flags !~ $excludedre)
+ if (($flags =~ /[AXC]/ && $flags !~ $excludedre)
|| (!$define{'NO_MATHOMS'} && $flags =~ /b/))
{
# public API, so export