Lines 6-11
Link Here
|
6 |
use private::MakeUtil; |
6 |
use private::MakeUtil; |
7 |
use ExtUtils::MakeMaker 5.16 ; |
7 |
use ExtUtils::MakeMaker 5.16 ; |
8 |
use ExtUtils::Install (); # only needed to check for version |
8 |
use ExtUtils::Install (); # only needed to check for version |
|
|
9 |
use Config qw(%Config); |
9 |
|
10 |
|
10 |
my $ZLIB_LIB ; |
11 |
my $ZLIB_LIB ; |
11 |
my $ZLIB_INCLUDE ; |
12 |
my $ZLIB_INCLUDE ; |
Lines 62-70
Link Here
|
62 |
UpDowngrade(getPerlFiles('MANIFEST')) |
63 |
UpDowngrade(getPerlFiles('MANIFEST')) |
63 |
unless $ENV{PERL_CORE}; |
64 |
unless $ENV{PERL_CORE}; |
64 |
|
65 |
|
|
|
66 |
my $myLDFLAGS = $ENV{LDFLAGS}; |
67 |
my $LDDLFLAGS = join ' ', $Config{lddlflags},$myLDFLAGS; |
68 |
|
65 |
WriteMakefile( |
69 |
WriteMakefile( |
66 |
NAME => 'Compress::Raw::Zlib', |
70 |
NAME => 'Compress::Raw::Zlib', |
67 |
VERSION_FROM => 'lib/Compress/Raw/Zlib.pm', |
71 |
VERSION_FROM => 'lib/Compress/Raw/Zlib.pm', |
|
|
72 |
'LDDLFLAGS' => $LDDLFLAGS, |
68 |
INC => "-I$ZLIB_INCLUDE" , |
73 |
INC => "-I$ZLIB_INCLUDE" , |
69 |
DEFINE => "$OLD_ZLIB $WALL -DGZIP_OS_CODE=$GZIP_OS_CODE $USE_PPPORT_H" , |
74 |
DEFINE => "$OLD_ZLIB $WALL -DGZIP_OS_CODE=$GZIP_OS_CODE $USE_PPPORT_H" , |
70 |
XS => { 'Zlib.xs' => 'Zlib.c'}, |
75 |
XS => { 'Zlib.xs' => 'Zlib.c'}, |