]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/jpeg.bkl
m_queuedFullRedraw is not used anymore
[wxWidgets.git] / build / bakefiles / jpeg.bkl
index 5321d58541022cdbc05287bc6eefa32004a160e3..66aab149c54e2b43f5c3fc68a4846458b60ce477 100644 (file)
@@ -8,16 +8,19 @@
         <set var="wxUSE_LIBJPEG">builtin</set>
     </if>
     <set var="LIB_JPEG">
-        <if cond="wxUSE_LIBJPEG=='builtin'">wxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)</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'">$(TOP_SRCDIR)src/jpeg</if>
     </set>
 
     <lib id="wxjpeg" template="3rdparty_lib"
-         cond="wxUSE_LIBJPEG=='builtin' and BUILDING_LIB=='1'">
+         cond="wxUSE_LIBJPEG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
-        <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
+        <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
+        <cflags-borland>-w-8004 -w-8008 -w-8057 -w-8066</cflags-borland>
         <sources>
             src/jpeg/jcomapi.c
                    src/jpeg/jutils.c