[svn:mod_parrot] r636 - mod_parrot/branches/configure/config/probe
[email protected] Sat, 2 May 2009 07:24:47 -0700 (PDT)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
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;
}