275,290c275 < elsif ($^O eq 'darwin' ) < { < $self->{'LDDLFLAGS'} =~ s/-flat_namespace//; < $self->{'LDDLFLAGS'} =~ s/-undefined\s+suppress//; < if ( -e "$Config{'archlib'}/CORE/$Config{'libperl'}" ) { < $self->{'LDDLFLAGS'} .= " -L\${PERL_ARCHLIB}/CORE -lperl "; < } < elsif ( -e "/System/Library/Perl/darwin/CORE/libperl.dylib" ) { < $self->{'LDDLFLAGS'} .= " -L/System/Library/Perl/darwin/CORE -lperl "; < } < else { < warn "Can't find libperl.dylib"; < } < $self->{'LDFLAGS'} =~ s/-flat_namespace//; < $self->{'LDFLAGS'} =~ s/-undefined\s+suppress//; < } elsif ($^O =~ /(openbsd)/i) --- > elsif ($^O =~ /(openbsd)/i)