From: Steve Hay Date: Wed, 19 Jan 2005 09:33:27 +0000 (+0000) Subject: Exclude "Thread" from $Config{extensions} X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0eff23c15d71fe17c30cce5c453ccaf7cb644cb7;p=p5sagit%2Fp5-mst-13.2.git Exclude "Thread" from $Config{extensions} It is already excluded from $Config{dynamic_ext}, so should not be in $Config{extensions} either. (Note that Thread is actually still built, though. This is just for consistency with Unix builds.) p4raw-id: //depot/perl@23817 --- diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 646b5c2..dd58495 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -45,11 +45,12 @@ while (@{$optref} && $optref->[0] =~ /^([\w_]+)=(.*)$/) { FindExt::scan_ext("../ext"); FindExt::set_static_extensions(split ' ', $opt{'static_ext'}); -my @dynamic = grep(!/Thread/,FindExt::dynamic_ext()); +my @dynamic_ext = grep(!/Thread/,FindExt::dynamic_ext()); +my @extensions = grep(!/Thread/,FindExt::extensions()); $opt{'nonxs_ext'} = join(' ',FindExt::nonxs_ext()) || ' '; $opt{'static_ext'} = join(' ',FindExt::static_ext()) || ' '; -$opt{'dynamic_ext'} = join(' ',@dynamic) || ' '; -$opt{'extensions'} = join(' ',FindExt::extensions()) || ' '; +$opt{'dynamic_ext'} = join(' ',@dynamic_ext) || ' '; +$opt{'extensions'} = join(' ',@extensions) || ' '; $opt{'known_extensions'} = join(' ',FindExt::known_extensions()) || ' '; my $pl_h = '../patchlevel.h';