diff options
author | Tiago Natel de Moura <t.nateldemoura@f5.com> | 2020-06-23 12:11:27 +0100 |
---|---|---|
committer | Tiago Natel de Moura <t.nateldemoura@f5.com> | 2020-06-23 12:11:27 +0100 |
commit | f8ba5d6c0093090e81819481e523af5fd27ab1e3 (patch) | |
tree | 51958e8f811621f507162f88be0da0fe045be992 /auto/isolation | |
parent | 0326cefef518acc053718063019189b21dc26d32 (diff) | |
download | unit-f8ba5d6c0093090e81819481e523af5fd27ab1e3.tar.gz unit-f8ba5d6c0093090e81819481e523af5fd27ab1e3.tar.bz2 |
Isolation: fixed build when features aren't detected.
Diffstat (limited to 'auto/isolation')
-rw-r--r-- | auto/isolation | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/auto/isolation b/auto/isolation index 4238b859..fd35f8ed 100644 --- a/auto/isolation +++ b/auto/isolation @@ -94,24 +94,8 @@ nxt_feature_libs= nxt_feature_test="#include <sys/mount.h> int main() { - return mount((void*)0, (void*)0, (void*)0, 0, (void*)0); - }" -. auto/feature - -if [ $nxt_found = yes ]; then - NXT_HAVE_MOUNT=YES -fi - - -nxt_feature="Bind mount()" -nxt_feature_name=NXT_HAVE_BIND_MOUNT -nxt_feature_run=no -nxt_feature_incs= -nxt_feature_libs= -nxt_feature_test="#include <sys/mount.h> - - int main() { - return MS_BIND | MS_REC + return mount(\"/\", \"/\", \"bind\", + MS_BIND | MS_REC, \"\"); }" . auto/feature |