mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 07:31:00 +01:00
fix: Run all derivation builders inside the sandbox on macOS
This commit is contained in:
parent
e786a701a8
commit
05994033d5
3 changed files with 123 additions and 122 deletions
|
|
@ -62,12 +62,16 @@ AC_CHECK_TOOL([AR], [ar])
|
|||
AC_SYS_LARGEFILE
|
||||
|
||||
|
||||
# Solaris-specific stuff.
|
||||
# OS-specific stuff.
|
||||
case "$host_os" in
|
||||
solaris*)
|
||||
# Solaris requires -lsocket -lnsl for network functions
|
||||
LDFLAGS="-lsocket -lnsl $LDFLAGS"
|
||||
;;
|
||||
darwin*)
|
||||
# Need to link to libsandbox.
|
||||
LDFLAGS="-lsandbox $LDFLAGS"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue