From: Alexey Tourbin Date: Sat, 19 Mar 2005 06:10:45 +0000 (+0300) Subject: Re: bugzilla.redhat bug #101767 (threads, threads::shared) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=da3f33f8c9eb0c2e730aa4a7790e8198a51839ef;p=p5sagit%2Fp5-mst-13.2.git Re: bugzilla.redhat bug #101767 (threads, threads::shared) Message-ID: <20050319031045.GN12596@solemn.turbinal.org> p4raw-id: //depot/perl@24050 --- diff --git a/MANIFEST b/MANIFEST index 7330ef3..9874f0d 100644 --- a/MANIFEST +++ b/MANIFEST @@ -842,9 +842,11 @@ ext/Thread/README.threads Notes about multithreading ext/threads/Changes ithreads ext/Thread/Semaphore.pmx Threadsafe semaphore ext/threads/Makefile.PL ithreads +ext/threads/hints/linux.pl thread shared variables ext/Thread/specific.tx Test thread-specific user data ext/threads/README ithreads ext/threads/shared/Makefile.PL thread shared variables +ext/threads/shared/hints/linux.pl thread shared variables ext/threads/shared/README thread shared variables ext/threads/shared/shared.pm thread shared variables ext/threads/shared/shared.xs thread shared variables diff --git a/ext/threads/hints/linux.pl b/ext/threads/hints/linux.pl new file mode 100644 index 0000000..020f56d --- /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 0000000..020f56d --- /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/;