You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2002/06/15 19:26:29 UTC
cvs commit: modperl-2.0/lib/Apache Build.pm
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;