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
@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)
</template>
<set var="wxscintilla_usingdll">
- <if cond="SHARED=='1'">WXUSINGDLL</if>
+ <if cond="SHARED=='1' and MONOLITHIC=='0'">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 "$(SHARED)" == "1"\r
+!if "$(MONOLITHIC)" == "0" && "$(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)
ifeq ($(SHARED),1)\r
__wxscintilla_usingdll_p = -DWXUSINGDLL\r
endif\r
+endif
ifeq ($(MONOLITHIC),0)\r
EXTRALIBS_FOR_BASE = \r
endif\r
!if "$(RUNTIME_LIBS)" == "static"\r
__RUNTIME_LIBS_100 = $(__THREADSFLAG)\r
!endif\r
-!if "$(SHARED)" == "1"\r
+!if "$(MONOLITHIC)" == "0" && "$(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
!ifeq SHARED 1\r
__wxscintilla_usingdll_p = -dWXUSINGDLL\r
!endif\r
+!endif
EXTRALIBS_FOR_BASE =\r
!ifeq MONOLITHIC 0\r
EXTRALIBS_FOR_BASE = \r