X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c3288a7b682794e4c4a60f2b8487627d0f7c1aa..4fd899b671b25d3671e3fceb1b59f8edd9113af9:/src/makeprog.b32 diff --git a/src/makeprog.b32 b/src/makeprog.b32 index 67c9a6854d..2afd2304d6 100644 --- a/src/makeprog.b32 +++ b/src/makeprog.b32 @@ -14,10 +14,16 @@ WXDIR = $(WXWIN) !include $(WXDIR)\src\makeb32.env +!if "$(wxUSE_GUI)" == "0" +IMGLIBS= +!else +IMGLIBS= winpng jpeg tiff +!endif + !if "$(WXUSINGDLL)" == "1" -LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 winpng regex zlib jpeg tiff odbc32 +LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 regex zlib $(IMGLIBS) odbc32 !else -LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng regex zlib jpeg tiff odbc32 +LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 regex zlib $(IMGLIBS) odbc32 !endif # Note: you may need to remove some libraries for earlier versions of BC++, as below