summaryrefslogtreecommitdiff
path: root/ext/threads-shared/hints/linux.pl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/threads-shared/hints/linux.pl')
-rw-r--r--ext/threads-shared/hints/linux.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/threads-shared/hints/linux.pl b/ext/threads-shared/hints/linux.pl
new file mode 100644
index 0000000000..020f56d2f7
--- /dev/null
+++ b/ext/threads-shared/hints/linux.pl
@@ -0,0 +1,3 @@
+# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=101767
+# explicit linking is required to ensure the use of versioned symbols
+$self->{LIBS} = ['-lpthread'] if $Config{libs} =~ /-lpthread/;