mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 18:26:16 +02:00
configure.ac: don't run sandbox-shell test when cross compiling
This commit is contained in:
parent
cbf60bec6f
commit
7e52472759
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ esac
|
||||||
AC_ARG_WITH(sandbox-shell, AS_HELP_STRING([--with-sandbox-shell=PATH],[path of a statically-linked shell to use as /bin/sh in sandboxes]),
|
AC_ARG_WITH(sandbox-shell, AS_HELP_STRING([--with-sandbox-shell=PATH],[path of a statically-linked shell to use as /bin/sh in sandboxes]),
|
||||||
sandbox_shell=$withval)
|
sandbox_shell=$withval)
|
||||||
AC_SUBST(sandbox_shell)
|
AC_SUBST(sandbox_shell)
|
||||||
if ! test -z ${sandbox_shell+x}; then
|
if test ${cross_compiling:-no} = no && ! test -z ${sandbox_shell+x}; then
|
||||||
AC_MSG_CHECKING([whether sandbox-shell has the standalone feature])
|
AC_MSG_CHECKING([whether sandbox-shell has the standalone feature])
|
||||||
# busybox shell sometimes allows executing other busybox applets,
|
# busybox shell sometimes allows executing other busybox applets,
|
||||||
# even if they are not in the path, breaking our sandbox
|
# even if they are not in the path, breaking our sandbox
|
||||||
|
|
Loading…
Reference in a new issue