gnu: icedtea-7: Fix build on i686-linux.
* gnu/packages/java.scm (icedtea-7)[arguments]: Use "i386" lib directory when the system is "i686-linux".
This commit is contained in:
parent
fc37b4afb2
commit
1b6f99ea53
|
@ -1376,7 +1376,12 @@ bootstrapping purposes.")
|
||||||
(add-after 'install 'install-libjvm
|
(add-after 'install 'install-libjvm
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((lib-path (string-append (assoc-ref outputs "out")
|
(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")
|
(symlink (string-append lib-path "/server/libjvm.so")
|
||||||
(string-append lib-path "/libjvm.so")))
|
(string-append lib-path "/libjvm.so")))
|
||||||
#t))
|
#t))
|
||||||
|
|
Loading…
Reference in New Issue