diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-10-06 15:17:08 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-10-06 15:17:08 +0100 |
commit | d50f1408338c986819086d7001a554dcd41e31f5 (patch) | |
tree | 0d575dc4db68cab90361528add0f475761edcc69 /configpm | |
parent | d3bc6aa63a6a5b0edf9948f07d2571be8049339c (diff) | |
download | perl-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".
Diffstat (limited to 'configpm')
-rwxr-xr-x | configpm | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |