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 Sat, 15 Jun 2002 17:26:29 GMT
dougm       2002/06/15 10:26:29

  Modified:    lib/Apache Build.pm
  Log:
  remove "-undefined suppress" from ldflags on darwin (should never be there)
  
  Revision  Changes    Path
  1.97      +7 -1      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.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- Build.pm	30 May 2002 06:00:49 -0000	1.96
  +++ Build.pm	15 Jun 2002 17:26:29 -0000	1.97
  @@ -170,7 +170,13 @@
       my $config = tied %Config;
       my $ldflags = $config->{ldflags};
   
  -    $config->{ldflags} = '' if WIN32; #same as lddlflags
  +    if (WIN32) {
  +        $config->{ldflags} = ''; #same as lddlflags
  +    }
  +    elsif (DARWIN) {
  +        #not sure how this can happen, but it shouldn't
  +        $config->{ldflags} =~ s/-undefined suppress//;
  +    }
   
       my $ldopts = ExtUtils::Embed::ldopts();
       chomp $ldopts;
  
  
  

Mime
View raw message