This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig unit change for #15474.
[metaconfig.git] / U / perl / Extensions.U
index b7fd845..447f57c 100644 (file)
@@ -330,7 +330,7 @@ EOM
         *)  case " $dflt " in
             *" Encode "*) # Add the subextensions of Encode
                 cd "$rsrc/ext"
-                for xxx in `ls Encode/*/*.xs|awk -F/ '{print $2}'`; do
+                for xxx in `ls Encode/*/Makefile.PL|awk -F/ '{print $2}'`; do
                         dflt="$dflt Encode/$xxx"
                 done
                 cd "$tdir"