[svn:ponie] r384 - trunk

[email protected] 30 Jan 2006 20:04:49 -0000
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
Author: nicholas
Date: Mon Jan 30 12:04:48 2006
New Revision: 384

Modified:
   trunk/Configure.pl
Log:
For now a hack to link against the static libperl.a. However, this does not
please lib/ExtUtils/t/Embed.t (which fails because libs lines should only be
-l or -L)


Modified: trunk/Configure.pl
==============================================================================
--- trunk/Configure.pl	(original)
+++ trunk/Configure.pl	Mon Jan 30 12:04:48 2006
@@ -123,7 +123,10 @@ unless (-e 'config.sh' && -e 'config.h' 
     if ($^O eq 'solaris') {
 	$bonus_libs = '-lrt ';
     }
-    $bonus_libs .= "-lponie -lparrot -lponie";
+    # Avoid the dynamic libparrot for now, as using it uninstalled requires
+    # messing with the dynamic library load path.
+    $bonus_libs
+	.= "-lponie $dir/parrot/blib/lib/libparrot$Config{lib_ext} -lponie";
     if (" $Parrot::Config::PConfig{libs} " =~ / -lgmp /) {
 	$bonus_libs .= " -lgmp";
     }