mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cross-libc: Resurrect cross-building for the Hurd.
* gnu/packages/base.scm (glibc)[arguments]: When building for the Hurd, in phase "create-machine-symlink", only create symlink if it is missing. * gnu/packages/cross-base.scm (cross-libc*)[arguments]: Likewise. Change-Id: Ib009b7bd301b543b8629382330cca9d963b7a812
This commit is contained in:
parent
94133452aa
commit
d108a7aac2
2 changed files with 12 additions and 10 deletions
|
@ -1088,11 +1088,12 @@ the store.")
|
|||
" libmachuser.so libhurduser.so"))))))
|
||||
(add-after 'install 'create-machine-symlink
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(cpu "i386"))
|
||||
(symlink cpu
|
||||
(string-append out
|
||||
"/include/mach/machine"))))))
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(cpu "i386")
|
||||
(machine (string-append
|
||||
out "/include/mach/machine")))
|
||||
(unless (file-exists? machine)
|
||||
(symlink cpu machine))))))
|
||||
'()))))
|
||||
|
||||
(inputs `(("static-bash" ,static-bash)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue