fix clang-cl build with -Zc:dllexportInlines-

This hack causes undefined references to those dllimport symbols,
and it doesn't seem to be necessary for clang-cl (I've checked
both normal and mergelibs build with -Zc:dllexportInlines-).

Change-Id: Iaa336989507344442b59cec2e6c5078f91a42980
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126149
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
Luboš Luňák
2021-11-30 21:43:00 +01:00
committed by Luboš Luňák
parent 5fbc7ab55a
commit a49cd1cebd
+1 -1
View File
@@ -28,7 +28,7 @@
namespace com::sun::star::task { class XInteractionContinuation; }
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(__clang__)
// MSVC automatically applies dllexport to template instantiations if they are a base class
// of a dllexport class, and this template instantiation is a case of that. If we don't
// dllimport here, MSVC will complain about duplicate symbols in a mergelibs build.