From 296215f4a879670c3412a20be935f7a6e62a6e93 Mon Sep 17 00:00:00 2001 From: dulong Date: Fri, 21 Aug 2015 17:12:04 +0800 Subject: [PATCH] build and load 32 bit program and library on hpux ia64 platform although the arch is IA64,but 32bit could run on the platform. --- bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java b/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java index 6cc57add5..fa87f5428 100644 --- a/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java +++ b/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java @@ -62,7 +62,10 @@ else if (name.equals("SunOS")) { } else if (name.equals("HP-UX")) { if (arch.startsWith("IA64")) { - arch = "ia64"; + arch = "ia"; + if (is64()) { + arch += "64"; + } } else { arch = "pa";