Ticket #346: openbsd-hints.patch

File openbsd-hints.patch, 0.9 KB (added by rg, 13 years ago)
  • config/init/hints/openbsd.pm

     
    1919    if ( $libs !~ /-lpthread/ ) { 
    2020        $libs .= ' -lpthread'; 
    2121    } 
    22     $conf->data->set( libs => $libs ); 
     22    $conf->data->set( 
     23        libs  => $libs, 
     24        link  => 'g++', 
     25        rpath => '-Wl,-R', 
    2326 
     27        has_dynamic_linking    => 1, 
     28        parrot_is_shared       => 1, 
     29        libparrot_shared       => 'libparrot$(SHARE_EXT).$(SOVERSION)', 
     30        libparrot_shared_alias => 'libparrot$(SHARE_EXT)', 
     31        libparrot_soname       => '-Wl,-soname=libparrot$(SHARE_EXT).$(SOVERSION)', 
     32    ); 
     33 
    2434    if ( ( split( m/-/, $conf->data->get_p5('archname'), 2 ) )[0] eq 'powerpc' ) { 
    2535        $conf->data->set( as => 'as -mregnames' ); 
    2636    }