cvs commit: ponie Configure.pl
[email protected] (Nicholas Clark) 26 Jun 2004 22:52:58 -0000
| Newsgroups | perl.ponie.changes |
|---|---|
| Message-ID | <[email protected]> |
cvsuser 04/06/26 15:52:58
Modified: . Configure.pl
Log:
Hack Configure.pl to add -lrt on Solaris, as parrot ends up using it, but
perl's Configure doesn't default to it. Without this perl's link goes
splut because of unresolved symbols in libparrot.a
Revision Changes Path
1.30 +6 -2 ponie/Configure.pl
Index: Configure.pl
===================================================================
RCS file: /cvs/public/ponie/Configure.pl,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -w -r1.29 -r1.30
--- Configure.pl 26 Jun 2004 19:57:29 -0000 1.29
+++ Configure.pl 26 Jun 2004 22:52:58 -0000 1.30
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# $Id: Configure.pl,v 1.29 2004/06/26 19:57:29 nicholas Exp $
+# $Id: Configure.pl,v 1.30 2004/06/26 22:52:58 nicholas Exp $
use strict;
use Config;
@@ -115,9 +115,13 @@
close FH or die $!;
my %munge;
+ my $bonus_libs = '';
+ if ($^O eq 'solaris') {
+ $bonus_libs = '-lrt ';
+ }
$munge{cppflags} = $munge{ccflags} = " -I${inc_path}";
$munge{ldflags} = $munge{lddlflags} = " -L${lib_path}";
- $munge{libs} = $munge{perllibs} = " -lparrot -licuuc -licudata ";
+ $munge{libs} = $munge{perllibs} = " $bonus_libs-lparrot -licuuc -licudata ";
$munge{libpth} = $lib_path;
# Put new text that the front. This gives our things priority. For example,