Closed bulk88 closed 9 years ago
Oh, only that caused the problems? cool. But I am afraid. Who how are we going to know which is static or dynamic? Maybe generate FindExt.pm
Note: I haven't improved the win32 makefiles yet for missing Config, as I did with the unix Makefile.SH
Did you add the rules for the compiled Config also? Without you have only the old uncompiled lib/Config.pm, which I use for miniperl only
https://github.com/bulk88/cperl/commits/master see the commit called "Win32 build fixes", there is timestamp rebuild the world hell because Config.pm switch from mini Config.pm to XS Config.pm, and back to Config.pm then to XS Config.pm when rebuilding.
Maybe FindExt needs to do a BEGIN{eval {require Config;} $no_config = 1 if $@;} and just not read the static ext list if no Config and let it be inaccurate since static extensions list is not fetched from FindExt by config_sh.PL. Only at make_ext.pl time does FindExt's static list matter.
fixed with 47d5c1a, thanks!
caused by https://github.com/perl11/cperl/commit/7c3330a48d8f0671c9d048d5b066b17177128a91
when 'config_sh.PL' runs during the Win32 build process, 'Config.pm' doesn't exist yet. static extensions list is passed on command line to 'config_sh.PL' from the d/n/gmake process. Static extension list can't be looked up from 'config.sh' since 'static_ext' from 'config.sh' would be the canned 'static_ext' from the canned 'config.sh' for miniperl which is always empty string when 'config_sh.PL' runs. I reverted https://github.com/perl11/cperl/commit/7c3330a48d8f0671c9d048d5b066b17177128a91 in my repo so I can continue the Win32 build but some other solution will be needed.