From: H.Merijn Brand Date: Fri, 14 Aug 2009 06:03:32 +0000 (+0200) Subject: Install arch-dependent files into $archlib. X-Git-Tag: 5.26.1~247 X-Git-Url: https://perl5.git.perl.org/metaconfig.git/commitdiff_plain/8747f5ce35a2f0dc23bfab66750ac3399ddc6fff Install arch-dependent files into $archlib. backport 8a240526d678f296ecb86c2b6b7a7bf0cfbaa7e9 --- diff --git a/U/perl/Extensions.U b/U/perl/Extensions.U index 80c0b4b..670ef2b 100644 --- a/U/perl/Extensions.U +++ b/U/perl/Extensions.U @@ -73,6 +73,10 @@ nonxs_extensions='' : Function to recursively find available extensions, ignoring DynaLoader : NOTE: recursion limit of 10 to prevent runaway in case of symlink madness +: In 5.10.1 and later, extensions are stored in directories +: like File-Glob instead of the older File/Glob/. In this scheme, +: IO-Compress does not appear to be an XS extension, but we want +: to install it as one. A.D. 8/2009. find_extensions=' for xxx in *; do case "$xxx" in @@ -86,6 +90,8 @@ find_extensions=' known_extensions="$known_extensions $this_ext"; elif $contains "\.c$" $$.tmp > /dev/null 2>&1; then known_extensions="$known_extensions $this_ext"; + elif $test "$this_ext" = "IO/Compress"; then + known_extensions="$known_extensions $this_ext"; elif $test -d $xxx; then nonxs_extensions="$nonxs_extensions $this_ext"; fi;