summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl8
1 files changed, 8 insertions, 0 deletions
diff --git a/installperl b/installperl
index 8425f5b83e..ab59652599 100755
--- a/installperl
+++ b/installperl
@@ -386,6 +386,14 @@ foreach my $file (@corefiles) {
}
}
+# Switch in the 5.005-threads versions of he threadsafe queue and semaphore
+# modules if so needed.
+if ($Config{use5005threads}) {
+ for my $m (qw(Queue Semaphore)) {
+ copy("ext/Thread/$m.pmx", "$installprivlib/Thread/$m.pm")
+ }
+}
+
# Install main perl executables
# Make links to ordinary names if installbin directory isn't current directory.