]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/tiff.bkl
no real change, removed commented out code forgotten there
[wxWidgets.git] / build / bakefiles / tiff.bkl
index 0ca1fde0ba3d5a81a623e4404d05d1a6d163122f..379d63d4c033eaee7704bf5ea062de286241462a 100644 (file)
@@ -8,10 +8,12 @@
         <set var="wxUSE_LIBTIFF">builtin</set>
     </if>
     <set var="LIB_TIFF">
-        <if cond="wxUSE_LIBTIFF=='builtin'">wxtiff$(WXDEBUGFLAG)</if>
+        <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
+            wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
+        </if>
     </set>
     <set var="INC_TIFF">
-        <if cond="wxUSE_LIBTIFF=='builtin'">$(SRCDIR)/src/tiff</if>
+        <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
     </set>
 
     <set var="TIFF_PLATFORM_SRC">
@@ -21,7 +23,7 @@
     </set>
     
     <lib id="wxtiff" template="3rdparty_lib"
-         cond="wxUSE_LIBTIFF=='builtin' and BUILDING_LIB=='1'">
+         cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
         <sources>
             $(TIFF_PLATFORM_SRC)