From 354a9ddf94ec4d3914fa38f6f62f0b6055af2c6b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 25 Jul 2010 18:39:22 +0000 Subject: [PATCH] Only define WXUSINGDLL in multilib builds for wxscintilla.lib. In monolithic builds wxscintilla is linked directly into the one and only wx DLL and doesn't need to import anything from it, WXUSINGDLL is only needed in multilib case when wxscintilla is part of wxCore DLL and does need to import symbols (e.g. wxQsort() used by wxVector) from wxBase one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- Makefile.in | 2 +- build/bakefiles/scintilla.bkl | 2 +- build/msw/makefile.bcc | 2 +- build/msw/makefile.gcc | 2 ++ build/msw/makefile.vc | 2 +- build/msw/makefile.wat | 2 ++ 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 99bca80725..b596d098b9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2045,7 +2045,7 @@ COND_USE_STC_1___wxscintilla___depname = \ @COND_SHARED_0_USE_STC_1@ = install_wxscintilla @COND_SHARED_0_USE_STC_1@__uninstall_wxscintilla___depname \ @COND_SHARED_0_USE_STC_1@ = uninstall_wxscintilla -@COND_SHARED_1@__wxscintilla_usingdll_p = -DWXUSINGDLL +@COND_MONOLITHIC_0_SHARED_1@__wxscintilla_usingdll_p = -DWXUSINGDLL @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) diff --git a/build/bakefiles/scintilla.bkl b/build/bakefiles/scintilla.bkl index dfb993d339..e8da6c99db 100644 --- a/build/bakefiles/scintilla.bkl +++ b/build/bakefiles/scintilla.bkl @@ -39,7 +39,7 @@ - WXUSINGDLL + WXUSINGDLL