Register mkfifo in jcode static builds
ober
540fd686e65c0af317405a5728a444d12caef391
--- a/build-jcode-cross.ss +++ b/build-jcode-cross.ss @@ -351,8 +351,8 @@ "setenv" "unsetenv" "strerror" "localtime" "strftime" "sysconf" "getpagesize" "getrlimit" "system" "getenv" "putenv" "_exit" "exit" "execvp" "execve" - ;; temporary files/directories — std/os/temp - "mkstemp" "mkdtemp" "unlink" "rmdir" + ;; temporary files/directories and FIFOs — std/os/temp, std/os/posix + "mkstemp" "mkdtemp" "mkfifo" "unlink" "rmdir" ;; errno location + Linux sandboxing "__errno_location" "fcntl" "prctl" "syscall")) --- a/build-jcode-freebsd-cross.ss +++ b/build-jcode-freebsd-cross.ss @@ -340,6 +340,8 @@ "setenv" "unsetenv" "strerror" "localtime" "strftime" "sysconf" "getpagesize" "getrlimit" "system" "getenv" "putenv" "_exit" "execvp" "execve" + ;; FIFOs — std/os/posix + "mkfifo" "fcntl")) (define main-c-path (string-append output "-main.c")) --- a/build-jcode-musl.ss +++ b/build-jcode-musl.ss @@ -218,8 +218,8 @@ "setenv" "unsetenv" "strerror" "localtime" "strftime" "sysconf" "getpagesize" "getrlimit" "system" "getenv" "putenv" "_exit" "exit" "execvp" "execve" - ;; temporary files/directories — std/os/temp - "mkstemp" "mkdtemp" "unlink" "rmdir" + ;; temporary files/directories and FIFOs — std/os/temp, std/os/posix + "mkstemp" "mkdtemp" "mkfifo" "unlink" "rmdir" ;; errno location + Linux sandboxing "__errno_location" "fcntl" "prctl" "syscall")) --- a/support/ffi-symbols.list +++ b/support/ffi-symbols.list @@ -89,6 +89,7 @@ ftruncate mmap munmap flock +mkfifo usleep setsockopt read