Compress-Bzip2

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

my $BUILD_BZLIB = 0; # override with env BUILD_BZLIB=1

ParseCONFIG() ;

my %Bzip2 = ( pm => catfile( qw( lib Compress Bzip2.pm ) ),
	      lib => catfile( 'bzlib-src', 'libbz2'.$Config{_a} ) );

my $dlflags = $Config{ccdlflags}; # RT 105096
if ($Config{ld} ne $Config{cc} and $Config{ld} =~ m{^(.*/)?\w*ld\w*$}) {
  my @flags;
  for (split m/\s+/ => $dlflags) {
    s/^-Wl,(-+[-\w]+),/$1 / or s/^-Wl,//;
    push @flags, $_;
  }
  $dlflags = join " " => @flags;
}

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
  NAME              => 'Compress::Bzip2',



( run in 0.916 second using v1.01-cache-2.11-cpan-71847e10f99 )