dougm       2002/06/15 18:58:50

  Modified:    lib/Apache Build.pm
  Log:
  hmm, darwin ldflags fixup was not quite good enough
  
  Revision  Changes    Path
  1.98      +4 -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.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- Build.pm  15 Jun 2002 17:26:29 -0000      1.97
  +++ Build.pm  16 Jun 2002 01:58:50 -0000      1.98
  @@ -175,7 +175,10 @@
       }
       elsif (DARWIN) {
           #not sure how this can happen, but it shouldn't
  -        $config->{ldflags} =~ s/-undefined suppress//;
  +        my @bogus_flags = 'flat_namespace', 'bundle', 'undefined suppress';
  +        for my $flag (@bogus_flags) {
  +            $config->{ldflags} =~ s/-$flag\s*//;
  +        }
       }
   
       my $ldopts = ExtUtils::Embed::ldopts();
  
  
  


Reply via email to