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

jimjag pushed a commit to branch AOO50X
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 3fada0d85fd93ca97af6aba081377158ac4ceb74
Author: Piotr Kubaj <[email protected]>
AuthorDate: Thu Oct 22 16:09:31 2026 +0200

    jvmfwk: look for libjvm.so under ppc64le on little-endian PowerPC64
    
    OpenJDK 8 on little-endian 64-bit PowerPC installs libjvm.so under
    jre/lib/ppc64le, so a Java 8 runtime was not recognized there. Use
    "ppc64le" as JFW_PLUGIN_ARCH when OSL_BIGENDIAN is not defined, like
    the MIPS entry does.
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    (cherry picked from commit f7297c60dbf71bad38d2f05be22b72ded759bca2)
---
 main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx 
b/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx
index 86ebdb8266..1af4220000 100644
--- a/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx
+++ b/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx
@@ -44,7 +44,11 @@ namespace jfw_plugin
 #elif defined INTEL
 #define JFW_PLUGIN_ARCH "i386"
 #elif defined POWERPC64
+#ifdef OSL_BIGENDIAN
 #define JFW_PLUGIN_ARCH "ppc64"
+#else
+#define JFW_PLUGIN_ARCH "ppc64le"
+#endif
 #elif defined POWERPC
 #define JFW_PLUGIN_ARCH "ppc"
 #elif defined MIPS

Reply via email to