You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2026/08/02 02:26:52 UTC
(openoffice) 04/21: Use the right entrypoint name for X86-64.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 25912db7455cd3d29b7bc29e06765cc84aed18c9
Author: Damjan Jovanovic <da...@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 48d28c22e6..186fa9aa1d 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 \