From: Vadim Zeitlin Date: Sat, 5 Feb 2011 20:25:09 +0000 (+0000) Subject: Link console programs with PNG library in monolithic build. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/57c7447463444c6a6bd910d2706f27c4cd1e4ec1?ds=sidebyside Link console programs with PNG library in monolithic build. PNG images are used by the main wxWidgets library itself now and so linking with the monolithic wx library introduces dependencies on PNG as well, even for the console applications. Link them with linpng to avoid linker errors. Closes #12889. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index f0d082a46b..1fa03adc23 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -594,10 +594,16 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r $(EXTRALIBS_FOR_GUI) + + $(LIB_PNG) +