Revert "Always define WXUSINGDLL when compiling Scintilla in shared wx build."
Finally it's unnecessary to define WXUSINGDLL when building wxScintilla library as it doesn't use the main DLL, it is simply used as part of it. This reverts r66222 and finally closes #12626. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dd53b347de
commit
2a9b583b48
@ -2053,7 +2053,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)
|
||||
|
@ -39,7 +39,7 @@
|
||||
</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"
|
||||
|
@ -1526,7 +1526,7 @@ __wxjpeg___depname = $(LIBDIRNAME)\wxjpeg$(WXDEBUGFLAG).lib
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__wxtiff___depname = $(LIBDIRNAME)\wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
!if "$(MONOLITHIC)" == "0" && "$(SHARED)" == "1"
|
||||
__wxscintilla_usingdll_p = -DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
|
@ -1532,9 +1532,11 @@ endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__wxtiff___depname = $(LIBDIRNAME)\libwxtiff$(WXDEBUGFLAG).a
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
ifeq ($(SHARED),1)
|
||||
__wxscintilla_usingdll_p = -DWXUSINGDLL
|
||||
endif
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
EXTRALIBS_FOR_BASE =
|
||||
endif
|
||||
|
@ -1716,7 +1716,7 @@ __RUNTIME_LIBS_100 = D
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS_100 = $(__THREADSFLAG)
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
!if "$(MONOLITHIC)" == "0" && "$(SHARED)" == "1"
|
||||
__wxscintilla_usingdll_p = /DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
|
@ -81,9 +81,11 @@ __wxtiff___depname =
|
||||
__wxtiff___depname = $(LIBDIRNAME)\wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__wxscintilla_usingdll_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
!ifeq SHARED 1
|
||||
__wxscintilla_usingdll_p = -dWXUSINGDLL
|
||||
!endif
|
||||
!endif
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!ifeq MONOLITHIC 0
|
||||
EXTRALIBS_FOR_BASE =
|
||||
|
Loading…
Reference in New Issue
Block a user