This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert change 33326
[perl5.git] / installperl
index fddb66e..f635918 100755 (executable)
@@ -819,12 +819,6 @@ sub installlib {
     return if $name =~ m{^(?:SIGNATURE|PAUSE200\d\.pub)$}; # CPAN files
     return if $name =~ m{^(?:NOTES|PATCHING)$}; # ExtUtils files
 
-    # If not a threaded Perl, then ignore files that support threads
-    if (! $Config{'useithreads'}) {
-        return if $dir =~ m{Thread};
-        return if $name =~ m{Thread};
-    }
-
     # if using a shared perl library then ignore:
     # - static library files [of statically linked extensions];
     # - import library files and export library files (only present on Win32