[svn:parrot] r36810 - trunk/config/init/hints

rurban at svn.parrot.org rurban at svn.parrot.org
Tue Feb 17 09:35:53 UTC 2009


Author: rurban
Date: Tue Feb 17 09:35:52 2009
New Revision: 36810
URL: https://trac.parrot.org/parrot/changeset/36810

Log:
TT #346, openbsd hints fixed for shared. patch by rg

Modified:
   trunk/config/init/hints/openbsd.pm

Modified: trunk/config/init/hints/openbsd.pm
==============================================================================
--- trunk/config/init/hints/openbsd.pm	Tue Feb 17 08:13:56 2009	(r36809)
+++ trunk/config/init/hints/openbsd.pm	Tue Feb 17 09:35:52 2009	(r36810)
@@ -19,7 +19,17 @@
     if ( $libs !~ /-lpthread/ ) {
         $libs .= ' -lpthread';
     }
-    $conf->data->set( libs => $libs );
+    $conf->data->set(
+        libs  => $libs,
+        link  => 'g++',
+        rpath => '-Wl,-R',
+
+        has_dynamic_linking    => 1,
+        parrot_is_shared       => 1,
+        libparrot_shared       => 'libparrot$(SHARE_EXT).$(SOVERSION)',
+        libparrot_shared_alias => 'libparrot$(SHARE_EXT)',
+        libparrot_soname       => '-Wl,-soname=libparrot$(SHARE_EXT).$(SOVERSION)',
+    );
 
     if ( ( split( m/-/, $conf->data->get_p5('archname'), 2 ) )[0] eq 'powerpc' ) {
         $conf->data->set( as => 'as -mregnames' );


More information about the parrot-commits mailing list