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
@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_MONOLITHIC_0_SHARED_1@__wxscintilla_usingdll_p = -DWXUSINGDLL
+@COND_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)
</template>
<set var="wxscintilla_usingdll">
- <if cond="SHARED=='1' and MONOLITHIC=='0'">WXUSINGDLL</if>
+ <if cond="SHARED=='1'">WXUSINGDLL</if>
</set>
<lib id="wxscintilla" template="3rdparty_lib,wxscintilla_cppflags"
!if "$(USE_GUI)" == "1"\r
__wxtiff___depname = $(LIBDIRNAME)\wxtiff$(WXDEBUGFLAG).lib\r
!endif\r
-!if "$(MONOLITHIC)" == "0" && "$(SHARED)" == "1"\r
+!if "$(SHARED)" == "1"
__wxscintilla_usingdll_p = -DWXUSINGDLL\r
!endif\r
!if "$(MONOLITHIC)" == "0"\r
ifeq ($(USE_GUI),1)\r
__wxtiff___depname = $(LIBDIRNAME)\libwxtiff$(WXDEBUGFLAG).a\r
endif\r
-ifeq ($(MONOLITHIC),0)\r
ifeq ($(SHARED),1)\r
__wxscintilla_usingdll_p = -DWXUSINGDLL\r
endif\r
-endif\r
ifeq ($(MONOLITHIC),0)\r
EXTRALIBS_FOR_BASE = \r
endif\r
!if "$(RUNTIME_LIBS)" == "static"\r
__RUNTIME_LIBS_100 = $(__THREADSFLAG)\r
!endif\r
-!if "$(MONOLITHIC)" == "0" && "$(SHARED)" == "1"\r
+!if "$(SHARED)" == "1"
__wxscintilla_usingdll_p = /DWXUSINGDLL\r
!endif\r
!if "$(MONOLITHIC)" == "0"\r
__wxtiff___depname = $(LIBDIRNAME)\wxtiff$(WXDEBUGFLAG).lib\r
!endif\r
__wxscintilla_usingdll_p =\r
-!ifeq MONOLITHIC 0\r
!ifeq SHARED 1\r
__wxscintilla_usingdll_p = -dWXUSINGDLL\r
!endif\r
-!endif\r
EXTRALIBS_FOR_BASE =\r
!ifeq MONOLITHIC 0\r
EXTRALIBS_FOR_BASE = \r