diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2019-11-22 14:06:02 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2019-11-22 14:06:02 +0300 |
commit | 94a9162baa82809ec58a3d06ca3489c7e7fed6ed (patch) | |
tree | ece6299742d0160ef3bbb42d8dc488b85083e730 /auto | |
parent | 217914df7cf42a39892724ebd5b5d7c2badbbc53 (diff) | |
download | unit-94a9162baa82809ec58a3d06ca3489c7e7fed6ed.tar.gz unit-94a9162baa82809ec58a3d06ca3489c7e7fed6ed.tar.bz2 |
Configure: fixed posix_spawn() detection with glic 2.30.
In particular, it was previously broken on Ubuntu 19.10 and Fedora 31.
See for details: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2ab5741
Diffstat (limited to '')
-rw-r--r-- | auto/unix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -186,8 +186,8 @@ nxt_feature_libs= nxt_feature_test="#include <spawn.h> #include <unistd.h> - int main() { - (void) posix_spawn(NULL, NULL, NULL, NULL, NULL, NULL); + int main(int argc, char *argv[]) { + (void) posix_spawn(NULL, \"\", NULL, NULL, argv, NULL); return 0; }" . auto/feature |