From: Steve Hay Date: Sat, 3 Oct 2009 13:04:31 +0000 (+0100) Subject: Make Win32 treat IO-Compress as an XS extension, as was done elsewhere by X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f4a6a713802da1b781d7108503156fa3a0fe219e;p=p5sagit%2Fp5-mst-13.2.git Make Win32 treat IO-Compress as an XS extension, as was done elsewhere by commit 4cc80fc4cbbd82e20f7b14b68abb53d552076022 Something is still wrong with the treatment of IO-Compress on (at least) Win32, though--see: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-10/msg00061.html --- diff --git a/win32/FindExt.pm b/win32/FindExt.pm index fe1febd..4355a17 100644 --- a/win32/FindExt.pm +++ b/win32/FindExt.pm @@ -91,7 +91,7 @@ sub find_ext # Temporary hack to cope with smokers that are not clearing directories: next if $ext{$this_ext}; - if (has_xs_or_c("$ext_dir$item")) { + if (has_xs_or_c("$ext_dir$item") or $this_ext eq 'IO/Compress') { $ext{$this_ext} = $static{$this_ext} ? 'static' : 'dynamic'; } else { $ext{$this_ext} = 'nonxs';