summaryrefslogtreecommitdiff
path: root/ext/threads
diff options
context:
space:
mode:
authorAlexey Tourbin <at@altlinux.ru>2005-03-19 09:10:45 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-21 09:59:13 +0000
commitda3f33f8c9eb0c2e730aa4a7790e8198a51839ef (patch)
treea1b0584d9cd93a6d7f122cff5ff766c17f5ba999 /ext/threads
parentbfed75c6338f0ba740aa210f4b0267e39ca4662b (diff)
downloadperl-da3f33f8c9eb0c2e730aa4a7790e8198a51839ef.tar.gz
Re: bugzilla.redhat bug #101767 (threads, threads::shared)
Message-ID: <20050319031045.GN12596@solemn.turbinal.org> p4raw-id: //depot/perl@24050
Diffstat (limited to 'ext/threads')
-rw-r--r--ext/threads/hints/linux.pl3
-rw-r--r--ext/threads/shared/hints/linux.pl3
2 files changed, 6 insertions, 0 deletions
diff --git a/ext/threads/hints/linux.pl b/ext/threads/hints/linux.pl
new file mode 100644
index 0000000000..020f56d2f7
--- /dev/null
+++ b/ext/threads/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/;
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/;