RepositoryExternal.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)
New commits: commit c9de8605fe9c986af21cdb76934af5d280ad0073 Author: Mike Kaganski <[email protected]> AuthorDate: Thu Oct 30 11:40:36 2025 +0500 Commit: Mike Kaganski <[email protected]> CommitDate: Fri Oct 31 08:10:46 2025 +0100 Fix --with-yrs build on Windows Change-Id: I0b5d6bdcc6603c8b3e516dae6527bddbc34ae6ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193233 Reviewed-by: Mike Kaganski <[email protected]> Tested-by: Jenkins diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 32580fa4da70..a2daad6018d6 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -4510,7 +4510,18 @@ $(call gb_LinkTarget_set_include,$(1),\ $$(INCLUDE) \ -I$(gb_UnpackedTarball_workdir)/y-crdt/tests-ffi/include \ ) +ifeq ($(COM),MSC) +$(call gb_LinkTarget_add_libs,$(1),\ + $(gb_UnpackedTarball_workdir)/y-crdt/target/debug/yrs.lib \ + $(eval $(call gb_LinkTarget_use_system_win32_libs,$(1),\ + ntdll \ + userenv \ + ws2_32 \ + )) +) +else $(call gb_LinkTarget_add_libs,$(1),$(gb_UnpackedTarball_workdir)/y-crdt/target/debug/libyrs.a) +endif endef else
