]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/zlib.bkl
Patches from "Viktor Voroshylo" <viktor@voroshylo.com>
[wxWidgets.git] / build / bakefiles / zlib.bkl
index 12e0f9db753e50cbe77b9d7cf4a21b899c1c6f9a..4a1ce037977fc8edc12ac47d6544605d169b6378 100644 (file)
@@ -8,15 +8,16 @@
         <set var="wxUSE_ZLIB">builtin</set>
     </if>
     <set var="LIB_ZLIB">
-        <if cond="wxUSE_ZLIB=='builtin'">wxzlib$(WXDEBUGFLAG)</if>
+        <if cond="wxUSE_ZLIB=='builtin'">wxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
     </set>
     <set var="INC_ZLIB">
-        <if cond="wxUSE_ZLIB=='builtin'">$(SRCDIR)/src/zlib</if>
+        <if cond="wxUSE_ZLIB=='builtin'">$(TOP_SRCDIR)src/zlib</if>
     </set>
 
-    <lib id="wxzlib" teplate="3rdparty_lib"
+    <lib id="wxzlib" template="3rdparty_lib"
          cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
+        <cflags-borland>-w-8004 -w-8012 -w-8057</cflags-borland> 
         <sources>
             src/zlib/adler32.c
             src/zlib/compress.c