add some more libs to libmerged

and fix a consequent symbol name clash in basctl

Change-Id: Idc836fcbb379e1046a60008391635eb6241b27c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88188
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2020-02-07 14:43:42 +02:00
parent bf25e69f8f
commit 40fe721462
3 changed files with 15 additions and 2 deletions

View file

@ -29,6 +29,10 @@ $(eval $(call gb_Library_set_include,basctl,\
-I$(WORKDIR)/SdiTarget/basctl/sdi \
))
$(eval $(call gb_Library_add_defs,basctl,\
-DENABLE_MERGELIBS=$(if $(MERGELIBS),1,0) \
))
$(eval $(call gb_Library_use_external,basctl,boost_headers))
$(eval $(call gb_Library_use_custom_headers,basctl,\

View file

@ -43,17 +43,19 @@
#include <sfx2/viewfrm.hxx>
#include <svl/srchitem.hxx>
#ifdef DISABLE_DYNLOADING
#if defined(DISABLE_DYNLOADING) || ENABLE_MERGELIBS
/* Avoid clash with the ones from svx/source/form/typemap.cxx */
#define aSfxDocumentInfoItem_Impl basctl_source_basicide_basidesh_aSfxDocumentInfoItem_Impl
#define aSfxUnoAnyItem_Impl basctl_source_basicide_basidesh_aSfxUnoAnyItem_Impl
#endif
#define ShellClass_basctl_Shell
#define SFX_TYPEMAP
#include <basslots.hxx>
#ifdef DISABLE_DYNLOADING
#if defined(DISABLE_DYNLOADING) || ENABLE_MERGELIBS
#undef aSfxDocumentInfoItem_Impl
#undef aSfxUnoAnyItem_Impl
#endif
#include <iderdll.hxx>

View file

@ -10,6 +10,9 @@
# we link all object files from these libraries into one, merged library
MERGE_LIBRARY_LIST := \
avmedia \
$(call gb_Helper_optional,SCRIPTING, \
basctl \
) \
basegfx \
canvastools \
comphelper \
@ -35,14 +38,18 @@ MERGE_LIBRARY_LIST := \
localebe1 \
mcnttype \
msfilter \
mtfrenderer \
$(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
package2 \
sax \
sb \
simplecanvas \
sfx \
sofficeapp \
sot \
$(if $(DISABLE_GUI),,spl) \
$(call gb_Helper_optional,SCRIPTING,stringresource) \
stringresource \
svl \
svt \
svx \