fix linker error for PCH build

Error was:

   ld.lld: error: undefined symbol: LanguageTag::~LanguageTag()
   >>> referenced by stl_construct.h:119 (/usr/lib64/gcc/x86_64-suse-linux/13/../../../../include/c++/13/bits/stl_construct.h:119)
   >>>               core/workdir/CxxObject/sc/inc/pch/precompiled_vbaobj.o:(void std::_Construct<LocaleDataWrapper, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, LanguageTag const&>(LocaleDataWrapper*, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, LanguageTag const&))
   >>> referenced by stl_construct.h:119 (/usr/lib64/gcc/x86_64-suse-linux/13/../../../../include/c++/13/bits/stl_construct.h:119)
   >>>               core/workdir/CxxObject/sc/inc/pch/precompiled_vbaobj.o:(void std::_Construct<LocaleDataWrapper, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, LanguageTag const&>(LocaleDataWrapper*, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, LanguageTag const&))
   >>> referenced by stl_construct.h:119 (/usr/lib64/gcc/x86_64-suse-linux/13/../../../../include/c++/13/bits/stl_construct.h:119)
   >>>               core/workdir/CxxObject/sc/inc/pch/precompiled_vbaobj.o:(void std::_Construct<CharClass, com::sun::uno::Reference<com::sun::uno::XComponentContext> const&, LanguageTag const&>(CharClass*, com::sun::uno::Reference<com::sun::uno::XComponentContext> const&, LanguageTag const&))
   >>> referenced 5 more times

Change-Id: Ie84d062d1815aa8e8118171862e0f8f64331d769
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166346
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
This commit is contained in:
Thorsten Behrens 2024-03-25 00:22:13 +01:00
parent 00ef339bfc
commit b4be47efb8

View file

@ -39,6 +39,7 @@ $(eval $(call gb_Library_use_libraries,vbaobj,\
cppuhelper \
editeng \
for \
i18nlangtag \
msfilter \
sal \
sb \