Ludovic Courtès 0a42998a50
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.
2021-10-26 14:53:43 +02:00
..
2021-08-22 21:36:29 +02:00
2021-09-21 15:15:52 +02:00
2021-04-12 18:42:22 +02:00
2021-08-12 12:34:13 +02:00
2021-10-17 18:26:44 +02:00
2021-05-11 12:49:53 +02:00