This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch windows-amd64
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit f3e0634fae43008830654395f335e36c2dc3f4d2
Author: Damjan Jovanovic <dam...@apache.org>
AuthorDate: Fri Jan 3 00:44:19 2025 +0200

    Use the right entrypoint name for X86-64.
    
    Patch by: me
---
 main/vcl/Library_vcl.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/main/vcl/Library_vcl.mk b/main/vcl/Library_vcl.mk
index f31f503005..6e4e511bd2 100644
--- a/main/vcl/Library_vcl.mk
+++ b/main/vcl/Library_vcl.mk
@@ -514,10 +514,17 @@ endif
 
 ifeq ($(OS),WNT)
 ifeq ($(USE_MINGW),)
+ifeq ($(CPUNAME),INTEL)
 $(eval $(call gb_Library_add_ldflags,vcl,\
        /ENTRY:LibMain@12 \
 ))
 endif
+ifeq ($(CPUNAME),X86-64)
+$(eval $(call gb_Library_add_ldflags,vcl,\
+       /ENTRY:LibMain@16 \
+))
+endif
+endif
 $(eval $(call gb_Library_add_linked_libs,vcl,\
        advapi32 \
        gdi32 \

Reply via email to