</error>
</if>
- <template id="wx">
+ <template id="wx-lib">
<cxxflags>$(WX_CXXFLAGS)</cxxflags>
<cflags>$(WX_CFLAGS)</cflags>
+ </template>
+
+ <template id="wx" template="wx-lib">
<ldlibs>$(WX_LIBS)</ldlibs>
</template>
position="before:__wx-libs-point"/>
- <template id="wx">
+ <!-- template for static wx libraries: -->
+ <template id="wx-lib">
<!-- MISCELLANEOUS -->
<if cond="FORMAT=='mingw'">
<define>HAVE_W32API_H</define>
<include>$(WX_DIR)$(WXLIBINCLUDE)</include>
<include>$(WX_DIR)/include</include>
-
+ </template>
+
+
+ <!-- template for wx executables/dlls: -->
+ <template id="wx" template="wx-lib">
<lib-path>$(WX_DIR)$(WXLIBPATH)</lib-path>
<!-- wx libs must come before 3rd party and sys libs, this is