From 57c7447463444c6a6bd910d2706f27c4cd1e4ec1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 5 Feb 2011 20:25:09 +0000 Subject: [PATCH] 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 --- build/bakefiles/common.bkl | 8 +++++++- samples/console/Makefile.in | 6 +++++- samples/console/console_vc7.vcproj | 16 +++++++-------- samples/console/console_vc8.vcproj | 16 +++++++-------- samples/console/console_vc9.vcproj | 16 +++++++-------- samples/console/makefile.bcc | 8 +++++++- samples/console/makefile.gcc | 8 +++++++- samples/console/makefile.vc | 8 +++++++- samples/console/makefile.wat | 10 +++++++++- samples/ipc/Makefile.in | 12 ++++++----- samples/ipc/ipc_vc7_baseipcclient.vcproj | 16 +++++++-------- samples/ipc/ipc_vc7_baseipcserver.vcproj | 16 +++++++-------- samples/ipc/ipc_vc8_baseipcclient.vcproj | 16 +++++++-------- samples/ipc/ipc_vc8_baseipcserver.vcproj | 16 +++++++-------- samples/ipc/ipc_vc9_baseipcclient.vcproj | 16 +++++++-------- samples/ipc/ipc_vc9_baseipcserver.vcproj | 16 +++++++-------- samples/ipc/makefile.bcc | 16 ++++++++++----- samples/ipc/makefile.gcc | 16 ++++++++++----- samples/ipc/makefile.vc | 16 ++++++++++----- samples/ipc/makefile.wat | 20 +++++++++++++------ samples/sockets/Makefile.in | 12 ++++++----- samples/sockets/makefile.bcc | 16 ++++++++++----- samples/sockets/makefile.gcc | 16 ++++++++++----- samples/sockets/makefile.vc | 16 ++++++++++----- samples/sockets/makefile.wat | 20 +++++++++++++------ samples/sockets/sockets_vc7_baseclient.vcproj | 16 +++++++-------- samples/sockets/sockets_vc7_baseserver.vcproj | 16 +++++++-------- samples/sockets/sockets_vc8_baseclient.vcproj | 16 +++++++-------- samples/sockets/sockets_vc8_baseserver.vcproj | 16 +++++++-------- samples/sockets/sockets_vc9_baseclient.vcproj | 16 +++++++-------- samples/sockets/sockets_vc9_baseserver.vcproj | 16 +++++++-------- tests/Makefile.in | 9 +++++---- tests/benchmarks/Makefile.in | 6 +++++- tests/benchmarks/bench_vc7.vcproj | 16 +++++++-------- tests/benchmarks/bench_vc8.vcproj | 16 +++++++-------- tests/benchmarks/bench_vc9.vcproj | 16 +++++++-------- tests/benchmarks/makefile.bcc | 8 +++++++- tests/benchmarks/makefile.gcc | 8 +++++++- tests/benchmarks/makefile.vc | 8 +++++++- tests/benchmarks/makefile.wat | 10 +++++++++- tests/makefile.bcc | 11 ++++++---- tests/makefile.gcc | 11 ++++++---- tests/makefile.vc | 11 ++++++---- tests/makefile.wat | 14 ++++++++----- tests/test_vc7_test.vcproj | 16 +++++++-------- tests/test_vc8_test.vcproj | 16 +++++++-------- tests/test_vc9_test.vcproj | 16 +++++++-------- utils/execmon/Makefile.in | 6 +++++- utils/execmon/execmon_vc7.vcproj | 16 +++++++-------- utils/execmon/execmon_vc8.vcproj | 16 +++++++-------- utils/execmon/execmon_vc9.vcproj | 16 +++++++-------- utils/execmon/makefile.bcc | 8 +++++++- utils/execmon/makefile.gcc | 8 +++++++- utils/execmon/makefile.vc | 8 +++++++- utils/execmon/makefile.wat | 10 +++++++++- utils/ifacecheck/src/Makefile.in | 6 +++++- utils/ifacecheck/src/ifacecheck_vc7.vcproj | 16 +++++++-------- utils/ifacecheck/src/ifacecheck_vc8.vcproj | 16 +++++++-------- utils/ifacecheck/src/ifacecheck_vc9.vcproj | 16 +++++++-------- utils/ifacecheck/src/makefile.bcc | 8 +++++++- utils/ifacecheck/src/makefile.gcc | 8 +++++++- utils/ifacecheck/src/makefile.vc | 8 +++++++- utils/ifacecheck/src/makefile.wat | 10 +++++++++- utils/wxrc/Makefile.in | 6 +++++- utils/wxrc/makefile.bcc | 8 +++++++- utils/wxrc/makefile.gcc | 8 +++++++- utils/wxrc/makefile.vc | 8 +++++++- utils/wxrc/makefile.wat | 10 +++++++++- utils/wxrc/wxrc_vc7.vcproj | 16 +++++++-------- utils/wxrc/wxrc_vc8.vcproj | 16 +++++++-------- utils/wxrc/wxrc_vc9.vcproj | 16 +++++++-------- 71 files changed, 565 insertions(+), 339 deletions(-) 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) +