perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0/lib/Apache Build.pm
Date Thu, 11 Oct 2001 19:32:43 GMT
dougm       01/10/11 12:32:43

  Modified:    lib/Apache Build.pm
  Log:
  fixup ldopts for hpux
  
  Revision  Changes    Path
  1.48      +8 -0      modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- Build.pm	2001/09/13 02:01:31	1.47
  +++ Build.pm	2001/10/11 19:32:43	1.48
  @@ -127,6 +127,14 @@
       my $ldopts = ExtUtils::Embed::ldopts();
       chomp $ldopts;
   
  +    if ($^O eq 'hpux' and $Config{ld} eq 'ld') {
  +        while ($ldopts =~ s/-Wl,(\S+)/$1/) {
  +            my $cp = $1;
  +            (my $repl = $cp) =~ s/,/ /g;
  +            $ldopts =~ s/\Q$cp/$repl/;
  +        }
  +    }
  +
       if ($self->{MP_USE_GTOP}) {
           $ldopts .= $self->gtop_ldopts;
       }
  
  
  

Mime
View raw message