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

darbelo at svn.parrot.org darbelo at svn.parrot.org
Tue Feb 23 19:49:15 UTC 2010


Author: darbelo
Date: Tue Feb 23 19:49:15 2010
New Revision: 44401
URL: https://trac.parrot.org/parrot/changeset/44401

Log:
Make OpenBSD's liker look in /usr/local/lib even without ICU.

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

Modified: trunk/config/init/hints/openbsd.pm
==============================================================================
--- trunk/config/init/hints/openbsd.pm	Tue Feb 23 19:49:09 2010	(r44400)
+++ trunk/config/init/hints/openbsd.pm	Tue Feb 23 19:49:15 2010	(r44401)
@@ -21,10 +21,17 @@
     if ( $libs !~ /-lpthread\b/ ) {
         $libs .= ' -lpthread';
     }
+
+    my $ldflags = $conf->data->get('ldflags');
+    if ( $ldflags !~ m|-L/usr/local/lib\b| ) {
+        $ldflags .= ' -L/usr/local/lib';
+    }
+
     $conf->data->set(
-        libs  => $libs,
-        link  => 'g++',
-        rpath => '-Wl,-R',
+        ldflags => $ldflags,
+        libs    => $libs,
+        link    => 'g++',
+        rpath   => '-Wl,-R',
 
         has_dynamic_linking    => 1,
         parrot_is_shared       => 1,


More information about the parrot-commits mailing list