X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cedc12a6ab49a8d943b303a3d391c6ac59e201c..75625d796cb7ea32ecb2c0526159180cb2352680:/src/makeprog.b32 diff --git a/src/makeprog.b32 b/src/makeprog.b32 index 0b06ef6495..cace6d6d9c 100644 --- a/src/makeprog.b32 +++ b/src/makeprog.b32 @@ -26,10 +26,16 @@ IMGLIBS= IMGLIBS= png_$(DEBUG_SUFFIX) jpeg_$(DEBUG_SUFFIX) tiff_$(DEBUG_SUFFIX) !endif +!if "$(FINAL)" == "0" +EX_LIBS=$(EXTRALIBS:.lib=_d.lib) +!else +EX_LIBS=$(EXTRALIBS) +!endif + !if "$(WXUSINGDLL)" == "1" -LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS) +LIBS=$(WXLIB) $(EX_LIBS) cw32mti import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS) !else -LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS) +LIBS=$(WXLIB) $(EX_LIBS) cw32mt import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS) !endif !if "$(wxUSE_ODBC)" == "1"