summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/java.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d0e3fd8d33..c4cbcbdc1b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1430,7 +1430,14 @@ bootstrapping purposes.")
                                                   ("armhf-linux"
                                                    "/lib/arm")
                                                   ("aarch64-linux"
-                                                   "/lib/aarch64")))))
+                                                   "/lib/aarch64")
+                                                  ;; We need a catch-all, dropping
+                                                  ;; '-linux' works in most cases.
+                                                  (_
+                                                    (string-append
+                                                      "/lib/"
+                                                      (string-drop-right
+                                                        (%current-system) 6)))))))
                  (symlink (string-append lib-path "/server/libjvm.so")
                           (string-append lib-path "/libjvm.so")))
                #t))