[svn:parrot] r41969 - trunk/lib/Parrot
darbelo at svn.parrot.org
darbelo at svn.parrot.org
Wed Oct 21 16:27:35 UTC 2009
Author: darbelo
Date: Wed Oct 21 16:27:35 2009
New Revision: 41969
URL: https://trac.parrot.org/parrot/changeset/41969
Log:
Use rpath_blib, when defined, to get at the build libraries in Test.pm. This fixes the "could not find libparrot.so.1.7.0" errors in netbsd. Patch by he++
Modified:
trunk/lib/Parrot/Test.pm
Modified: trunk/lib/Parrot/Test.pm
==============================================================================
--- trunk/lib/Parrot/Test.pm Wed Oct 21 15:56:18 2009 (r41968)
+++ trunk/lib/Parrot/Test.pm Wed Oct 21 16:27:35 2009 (r41969)
@@ -1045,6 +1045,10 @@
. "$PConfig{ld_out}$exe_f "
. "$obj_f $cfg "
. "$PConfig{libparrot_linkflags} "
+ # If rpath is defined (and therefore rpath_blib), use it to get at the build libraries
+ . ( defined($PConfig{rpath_blib})
+ ? ( $PConfig{rpath_blib} . " " )
+ : "" )
. "$PConfig{linkflags} $PConfig{ld_debug} "
. "$iculibs $PConfig{libs}";
my $exit_code = run_command(
More information about the parrot-commits
mailing list