summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-06 15:17:08 +0100
committerNicholas Clark <nick@ccl4.org>2010-10-06 15:17:08 +0100
commitd50f1408338c986819086d7001a554dcd41e31f5 (patch)
tree0d575dc4db68cab90361528add0f475761edcc69
parentd3bc6aa63a6a5b0edf9948f07d2571be8049339c (diff)
downloadperl-d50f1408338c986819086d7001a554dcd41e31f5.tar.gz
Add 'dlext' and 'so' to the initial %Config::Config
This avoids Config.pm loading Config_heavy.pl when DynaLoader.pm is loaded. It has been reading these at run time since 37589e1eefb1bd62, which post-dates the analysis of which %Config::Config values are most "popular".
-rwxr-xr-xconfigpm5
1 files changed, 5 insertions, 0 deletions
diff --git a/configpm b/configpm
index 0f353093dd..cad3a9ab88 100755
--- a/configpm
+++ b/configpm
@@ -52,6 +52,11 @@ while ($how_many_common--) {
$Common{$1} = $1;
}
+# Post 37589e1eefb1bd62 DynaLoader defaults to reading these at runtime.
+# Ideally we're redo the data below, but Fotango's build system made it
+# wonderfully easy to instrument, and no longer exists.
+$Common{$_} = $_ foreach qw(dlext so);
+
# names of things which may need to have slashes changed to double-colons
my %Extensions = map {($_,$_)}
qw(dynamic_ext static_ext extensions known_extensions);