# New Ticket Created by Lars Balker Rasmussen # Please include the string: [perl #24796] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=24796 >
Adding a hints file for solaris solves two thread-related link issues. -- Lars Balker Rasmussen Consult::Perl
Index: MANIFEST =================================================================== RCS file: /cvs/public/parrot/MANIFEST,v retrieving revision 1.525 diff -u -a -r1.525 MANIFEST --- MANIFEST 3 Jan 2004 14:01:43 -0000 1.525 +++ MANIFEST 3 Jan 2004 15:04:07 -0000 @@ -175,6 +175,7 @@ config/init/hints/mswin32.pl [] config/init/hints/openbsd.pl [] config/init/hints/os2.pl [] +config/init/hints/solaris.pl [] config/init/hints/vms.pl [] config/init/manifest.pl [] config/init/miniparrot.pl [] Index: config/init/hints/solaris.pl =================================================================== diff -u /dev/null config/init/hints/solaris.pl --- /dev/null Sat Jan 3 15:58:17 2004 +++ config/init/hints/solaris.pl Sat Jan 3 15:46:47 2004 @@ -1,0 +1,10 @@ +my $libs = Configure::Data->get('libs'); +if ( $libs !~ /-lpthread/ ) { + $libs .= ' -lpthread'; +} +if ( $libs !~ /-lrt\b/ ) { + $libs .= ' -lrt'; +} +Configure::Data->set( + libs => $libs, +);