diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-07 14:43:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-11 13:51:48 +0100 |
commit | 40fe721462df5bedacddc8829cefc3d739cf940f (patch) | |
tree | 7d3286c21c27670f071cc50e20aa8b8c041ab3ee /basctl | |
parent | bf25e69f8f657d5e3bcdd0bd54c5fa0d66ec85fe (diff) |
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>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/Library_basctl.mk | 4 | ||||
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/basctl/Library_basctl.mk b/basctl/Library_basctl.mk index acd12b474160..20e00351ef30 100644 --- a/basctl/Library_basctl.mk +++ b/basctl/Library_basctl.mk @@ -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,\ diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 0b9a2eaf88b8..aa8ae7e364a0 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -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> |