diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-02 08:42:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-02 11:25:35 +0200 |
commit | f470e5b7812cc4a1afdef5033a25b682cb1d2b94 (patch) | |
tree | 1ee2830eed9ba8b968e49a060af784b1bff10184 /writerperfect/Library_wpftwriter.mk | |
parent | 5a7d4ee6c4dd92758e0fd213671251e96d6e7f08 (diff) |
On Windows, Library_wpftwriter indirectly references Bcrypt.lib
No idea why this only started to show now in my clang-cl build, but this is
similar to what 23a8d5ffbbe58761b89f590f0735abccd69a3681 "Upgrade external/boost
to Boost 1.69.0" did at ucb/Library_ucpcmis1.mk:
workdir/UnpackedTarball/libepubgen/src/lib/EPUBGenerator.cpp includes
boost/uuid/uuid_generators.hpp, includes boost/uuid/random_generator.hpp,
includes boost/uuid/detail/random_provider.hpp, includes
boost/uuid/detail/random_provider_include_platform.hpp, includes
boost/uuid/detail/random_provider_bcrypt.ipp, includes boost/winapi/bcrypt.hpp,
includes system bcrypt.h.
Change-Id: I1dcfb9a13515d3e6f0a249c4a42ae5ebbf11fcf4
Reviewed-on: https://gerrit.libreoffice.org/80004
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'writerperfect/Library_wpftwriter.mk')
-rw-r--r-- | writerperfect/Library_wpftwriter.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/writerperfect/Library_wpftwriter.mk b/writerperfect/Library_wpftwriter.mk index 2ac6bd141cf2..0ea6756e15a4 100644 --- a/writerperfect/Library_wpftwriter.mk +++ b/writerperfect/Library_wpftwriter.mk @@ -97,4 +97,15 @@ $(eval $(call gb_Library_add_exception_objects,wpftwriter,\ writerperfect/source/writer/exp/xmltext \ )) +# On Windows, libepubgen-0.1.lib(EPUBGenerator.obj) references BCryptCloseAlgorithmProvider, +# BCryptGenRandom, and BCryptOpenAlgorithmProvider via +# workdir/UnpackedTarball/boost/boost/winapi/bcrypt.hpp: +ifeq ($(OS),WNT) +ifeq ($(SYSTEM_EPUBGEN)$(SYSTEM_BOOST),) +$(eval $(call gb_Library_add_libs,wpftwriter, \ + Bcrypt.lib \ +)) +endif +endif + # vim: set noet sw=4 ts=4: |