[svn:ponie] r363 - trunk

[email protected] 31 Oct 2005 16:15:55 -0000
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
Author: nicholas
Date: Mon Oct 31 08:15:54 2005
New Revision: 363

Modified:
   trunk/Configure.pl
Log:
It seems that libponie needs to come before libparrot, so that the parrot config
will be picked up, and libparrot needs to come after libponie, so that
Parrot_PMC_push_pmc will be picked up. So make a lib sandwich, with two
-lponie.

Stig spotted the build failure.


Modified: trunk/Configure.pl
==============================================================================
--- trunk/Configure.pl	(original)
+++ trunk/Configure.pl	Mon Oct 31 08:15:54 2005
@@ -122,7 +122,7 @@ unless (-e 'config.sh' && -e 'config.h' 
     if ($^O eq 'solaris') {
 	$bonus_libs = '-lrt ';
     }
-    $bonus_libs .= "-lparrot -lponie";
+    $bonus_libs .= "-lponie -lparrot -lponie";
     if (" $Parrot::Config::PConfig{libs} " =~ / -lgmp /) {
 	$bonus_libs .= " -lgmp";
     }