offset version by 1 to avoid having compatibility_version of 0.0.0 under Darwin: this is forbidden

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-10-03 20:56:20 +00:00
parent 5c173ba3f7
commit 6ce8b84846

View File

@ -72,7 +72,8 @@
<!-- FIXME: until libtool scheme is implemented in bakefile --> <!-- FIXME: until libtool scheme is implemented in bakefile -->
<set var="WXMACVERSION_CMD"> <set var="WXMACVERSION_CMD">
<if cond="PLATFORM_MACOSX=='1'"> <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> </if>
</set> </set>