You cannot do this in dist.ini , since the ini file has no way to make conditional logic. But one way could be to create your own Dist :: Zilla plugin, something like this:
package Dist::Zilla::Plugin::MyPrereqs;
If you generalize this to take some platform-specific prereqs lists within dist.ini , this will make a good CPAN release.
source share