<set var="wxUSE_LIBJPEG">builtin</set>
</if>
<set var="LIB_JPEG">
- <if cond="wxUSE_LIBJPEG=='builtin'">wxjpeg</if>
+ <if cond="wxUSE_LIBJPEG=='builtin' and USE_GUI=='1'">
+ wxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
+ </if>
</set>
<set var="INC_JPEG">
- <if cond="wxUSE_LIBJPEG=='builtin'">$(SRCDIR)/src/jpeg</if>
+ <if cond="wxUSE_LIBJPEG=='builtin'">$(TOP_SRCDIR)src/jpeg</if>
</set>
- <lib id="wxjpeg" template="anylib"
- cond="wxUSE_LIBJPEG=='builtin' and BUILDING_LIB=='1'">
+ <lib id="wxjpeg" template="3rdparty_lib"
+ cond="wxUSE_LIBJPEG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
<dirname>$(LIBDIRNAME)</dirname>
+ <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
<sources>
src/jpeg/jcomapi.c
src/jpeg/jutils.c