X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6861c1dc86a4e48e6f984b3f12290d1db575e59..bca6a3a5553884d5e210706b144dc3855798934d:/distrib/msw/tmake/lib/wxVersion.pm?ds=sidebyside diff --git a/distrib/msw/tmake/lib/wxVersion.pm b/distrib/msw/tmake/lib/wxVersion.pm index 943e06cb46..71618a767d 100644 --- a/distrib/msw/tmake/lib/wxVersion.pm +++ b/distrib/msw/tmake/lib/wxVersion.pm @@ -48,6 +48,18 @@ sub GetVersion() $numGot == 3 or die "Failed to read the version from $filename.\n"; + # release number if used in the DLL file names only for the unstable branch + # as for the stable branches the micro releases are supposed to be + # backwards compatible and so should have the same name or otherwise it + # would be impossible to use them without recompiling the applications + # (which is the whole goal of keeping them backwards compatible in the + # first place) + # + # and the final piece of the puzzle: stable branches are those with even + # minor version number (and unstable -- with odd) + $versions{'MICRO_IF_UNSTABLE'} = $versions{'MINOR'} % 2 ? $versions{'MICRO'} + : ""; + return %versions; }