<set var="wxUSE_LIBPNG">builtin</set>
</if>
<set var="LIB_PNG">
- <if cond="wxUSE_LIBPNG=='builtin'">wxpng</if>
+ <if cond="wxUSE_LIBPNG=='builtin'">wxpng$(WXDEBUGFLAG)</if>
</set>
<set var="INC_PNG">
<if cond="wxUSE_LIBPNG=='builtin'">$(SRCDIR)/src/png</if>
</set>
- <lib id="wxpng" template="anylib"
+ <lib id="wxpng" template="3rdparty_lib"
cond="wxUSE_LIBPNG=='builtin' and BUILDING_LIB=='1'">
<dirname>$(LIBDIRNAME)</dirname>
<include>$(INC_ZLIB)</include>