diff options
author | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2022-05-24 17:00:27 +0200 |
---|---|---|
committer | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2022-05-24 17:00:27 +0200 |
commit | 7e52472759bfecbbfc9146fd0992361ea930f195 (patch) | |
tree | 492960e5494bc88a854974aa5619b172124ff9d3 /configure.ac | |
parent | cbf60bec6ff900e6759b439b782c8cef163b3046 (diff) |
configure.ac: don't run sandbox-shell test when cross compiling
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 715c70de1..789dfdb3c 100644 --- a/configure.ac +++ b/configure.ac @@ -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]), sandbox_shell=$withval) 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]) # busybox shell sometimes allows executing other busybox applets, # even if they are not in the path, breaking our sandbox |