]> git.saurik.com Git - wxWidgets.git/commitdiff
offset version by 1 to avoid having compatibility_version of 0.0.0 under Darwin:...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Oct 2005 20:56:20 +0000 (20:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Oct 2005 20:56:20 +0000 (20:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/version.bkl

index b00f7100e9d6d3fcc812313cb8991b6789191bb1..0dab6e49bf6acd344b7253c2574dd2d222dfbf4d 100644 (file)
@@ -72,7 +72,8 @@
     <!-- FIXME: until libtool scheme is implemented in bakefile -->
     <set var="WXMACVERSION_CMD">
         <if cond="PLATFORM_MACOSX=='1'">
-            -compatibility_version $(WX_AGE).0 -current_version $(WX_AGE).$(WX_REVISION)
+           <!-- Version can't be 0, so add 1 to it to force it to be non null -->
+            -compatibility_version $(int(WX_AGE)+1).0 -current_version $(int(WX_AGE)+1).$(WX_REVISION)
         </if>
     </set>