Bakefile only supports 'and' conditions, so refactor the debug conditions to reflect that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -140,7 +140,8 @@ FIXME: this template has (at least) the following bugs:
|
|||||||
<!-- The debug define we need with win32 compilers -->
|
<!-- The debug define we need with win32 compilers -->
|
||||||
<!-- (on Linux, the wx-config program is used). -->
|
<!-- (on Linux, the wx-config program is used). -->
|
||||||
<set var="WXDEBUG_DEFINE">
|
<set var="WXDEBUG_DEFINE">
|
||||||
<if cond="WX_PYTHON=='1' or WX_DEBUG=='1'">__WXDEBUG__</if>
|
<if cond="WX_PYTHON=='1'">__WXDEBUG__</if>
|
||||||
|
<if cond="WX_PYTHON=='0' and WX_DEBUG=='1'">__WXDEBUG__</if>
|
||||||
</set>
|
</set>
|
||||||
|
|
||||||
<!-- These are handy ways of dealing with the -->
|
<!-- These are handy ways of dealing with the -->
|
||||||
|
Reference in New Issue
Block a user