summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/isolation5
1 files changed, 4 insertions, 1 deletions
diff --git a/auto/isolation b/auto/isolation
index 6debdc3b..384f7ef1 100644
--- a/auto/isolation
+++ b/auto/isolation
@@ -61,11 +61,14 @@ fi
nxt_feature="Linux pivot_root()"
-nxt_feature_name=NXT_HAVE_PIVOT_ROOT
+nxt_feature_name=NXT_HAVE_LINUX_PIVOT_ROOT
nxt_feature_run=no
nxt_feature_incs=
nxt_feature_libs=
nxt_feature_test="#include <sys/syscall.h>
+ #if !defined(__linux__)
+ # error
+ #endif
int main() {
return SYS_pivot_root;