]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/version.bkl
wxUSE_STL compilation fixes for wxGenericFontDialog
[wxWidgets.git] / 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>