</set>
<lib id="wxscintilla" template="3rdparty_lib"
- cond="BUILDING_LIB=='1'">
+ cond="USE_STC=='1' and BUILDING_LIB=='1'">
<include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
<include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
<define>__WX__</define>
src/stc/scintilla/src/XPM.cxx
</sources>
</lib>
+
+ <!-- use this to conditonally link against wxscintilla with <library>: -->
+ <set var="wxscintilla_library_link">
+ <if cond="USE_STC=='1' and BUILDING_LIB=='1'">wxscintilla</if>
+ </set>
</makefile>