X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FExtUtils%2Ft%2FMM_Cygwin.t;h=42d39491213fff927f03390ec419e68eedc8f57a;hb=80a5d8e74b5512d4ab704d0e83466ae41247ce55;hp=3c995b7d13ea02756b925fba38fdd4214d28fd6e;hpb=004283b80f6094bb85aba6f48a74e3c5c34ea24f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/ExtUtils/t/MM_Cygwin.t b/lib/ExtUtils/t/MM_Cygwin.t index 3c995b7..42d3949 100644 --- a/lib/ExtUtils/t/MM_Cygwin.t +++ b/lib/ExtUtils/t/MM_Cygwin.t @@ -23,7 +23,7 @@ BEGIN { use Config; use File::Spec; -require ExtUtils::MM; +use ExtUtils::MM; use_ok( 'ExtUtils::MM_Cygwin' ); @@ -52,12 +52,15 @@ delete $args->{CFLAGS}; # respects the config setting, should ignore whitespace around equal sign my $ccflags = $Config{useshrplib} eq 'true' ? ' -DUSEIMPORTLIB' : ''; -$args->cflags(<{NEEDS_LINKING} = 1; + $args->cflags(<{CFLAGS}, qr/OPTIMIZE = opt/, '... should set OPTIMIZE' ); like( $args->{CFLAGS}, qr/PERLTYPE = pt/, '... should set PERLTYPE' );