Always define WXUSINGDLL when compiling Scintilla in shared wx build.

We need WXUSINGDLL even in monolithic build because Scintilla references wx
debugging functions (wxOnAssert(), wxTheAssertHandler &c) which still must be
seen as being exported from the (monolithic) DLL in this case.

See #12626.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-11-22 01:22:07 +00:00
parent aa6b8882a4
commit 02c9115ba8
6 changed files with 4 additions and 8 deletions

View File

@@ -1526,7 +1526,7 @@ __wxjpeg___depname = $(LIBDIRNAME)\wxjpeg$(WXDEBUGFLAG).lib
!if "$(USE_GUI)" == "1"
__wxtiff___depname = $(LIBDIRNAME)\wxtiff$(WXDEBUGFLAG).lib
!endif
!if "$(MONOLITHIC)" == "0" && "$(SHARED)" == "1"
!if "$(SHARED)" == "1"
__wxscintilla_usingdll_p = -DWXUSINGDLL
!endif
!if "$(MONOLITHIC)" == "0"