develooper Front page | perl.cvs.mod_parrot | Postings from May 2009

[svn:mod_parrot] r636 - mod_parrot/branches/configure/config/probe

From:
jhorwitz
Date:
May 2, 2009 07:24
Subject:
[svn:mod_parrot] r636 - mod_parrot/branches/configure/config/probe
Message ID:
20090502142448.18D1F1844AA@xx12.develooper.com
Author: jhorwitz
Date: Sat May  2 07:24:47 2009
New Revision: 636

Modified:
   mod_parrot/branches/configure/config/probe/parrot.pm

Log:
fix dynamic linking to libparrot


Modified: mod_parrot/branches/configure/config/probe/parrot.pm
==============================================================================
--- mod_parrot/branches/configure/config/probe/parrot.pm	(original)
+++ mod_parrot/branches/configure/config/probe/parrot.pm	Sat May  2 07:24:47 2009
@@ -48,10 +48,9 @@
         slash            => $PConfig{slash},
     );
 
-    $conf->data->set( ldflags =>
-        '-L' . $conf->data->get('parrot_build_dir')
-        . '/' . $conf->data->get('blib_dir')
-    );
+    my $dir = $conf->data->get('parrot_build_dir') . '/'
+        . $conf->data->get('blib_dir');
+    $conf->data->set( ldflags => "-L$dir -R$dir");
 
     return $self;
 }



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About