aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-10-26 14:50:54 +0200
committerLudovic Courtès <ludo@gnu.org>2021-10-26 14:53:43 +0200
commit0a42998a50e8bbe9e49142b21a570db00efe7491 (patch)
tree6f7b451747b56c561d9b55d4381fd00edb355123 /gnu
parent73ae663b213bb943b35dd719283bbdbb4ce3bab2 (diff)
downloadguix-0a42998a50e8bbe9e49142b21a570db00efe7491.tar.gz
guix-0a42998a50e8bbe9e49142b21a570db00efe7491.zip
syscalls: Gracefully handle failure to load libc's libutil.
In particular, libutil is not found when running code on a statically-linked Guile. Reported by mahmooz on #guix. * guix/build/syscalls.scm (syscall->procedure): Add #:library parameter and honor it. (openpty, login-tty): Use 'syscall->procedure' instead of calling 'dynamic-link' directly.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions