Make Win32 treat IO-Compress as an XS extension, as was done elsewhere by
Steve Hay [Sat, 3 Oct 2009 13:04:31 +0000 (14:04 +0100)]
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

win32/FindExt.pm

index fe1febd..4355a17 100644 (file)
@@ -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';