aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index aa624b4c28..3b7404973a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1376,7 +1376,12 @@ bootstrapping purposes.")
(add-after 'install 'install-libjvm
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((lib-path (string-append (assoc-ref outputs "out")
- "/lib/amd64")))
+ "/lib/"
+ ,(match (%current-system)
+ ("i686-linux"
+ "i386")
+ ("x86_64-linux"
+ "amd64")))))
(symlink (string-append lib-path "/server/libjvm.so")
(string-append lib-path "/libjvm.so")))
#t))