Ticket #346: openbsd-hints.patch
File openbsd-hints.patch, 0.9 KB (added by rg, 13 years ago) |
---|
-
config/init/hints/openbsd.pm
19 19 if ( $libs !~ /-lpthread/ ) { 20 20 $libs .= ' -lpthread'; 21 21 } 22 $conf->data->set( libs => $libs ); 22 $conf->data->set( 23 libs => $libs, 24 link => 'g++', 25 rpath => '-Wl,-R', 23 26 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 24 34 if ( ( split( m/-/, $conf->data->get_p5('archname'), 2 ) )[0] eq 'powerpc' ) { 25 35 $conf->data->set( as => 'as -mregnames' ); 26 36 }