openca / libpki

Easy-to-use high-level library for PKI-enabled applications
Other
50 stars 34 forks source link

Add ARM support #57

Closed clausecker closed 1 year ago

clausecker commented 1 year ago

Please add support for 32 bit ARM targets. This can be achieved with the following patch:

diff --git a/configure.ac b/configure.ac
index 1b90e25..096afe7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,9 @@ case "$my_arch" in
     mybits="64"
     mybits_install="64"
         ;;
+  *arm)
+    mybits="32"
+    ;;
   *aarch64)
     mybits="64"
     mybits_install="64"

Additionally, change *aarch64 to *aarch64|*arm64 to support ARM64 on FreeBSD.